Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

#3 The assignment consists of 2 parts. Create an R-Markdown script (.rmd) and generate an html output for the code and text. Please keep in

#3

The assignment consists of 2 parts. Create an R-Markdown script (.rmd) and generate an html output for the code and text. Please keep in mind to use both code chunks, text, and other components of reproducible research as required.

  1. Use the CO2 dataset in R
    1. To get definitions of the columns type help(CO2)
    2. Calculate means & standard deviations for 4 groups broken down by Type and Treatment
    3. Perform one-way tests twice: once for Type and once for Treatment
    4. Perform a two-way test for Type and Treatment
  2. Use the mtcars dataset in R
    1. Use the table() function with the following combinations
      1. The variables vs and am
      2. The variables gear and carb
      3. The variables cyl and gear
      4. For each of the three cases above guess what the results of a Chi-Squared analysis will be
      5. Ignore warnings for low values in the cells
    2. PerformaChi-Squaredanalysisonthemtcarsdatasetforeachofthethreecasesabove

Anyone knows how to do this? Thanks.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

College Algebra Graphs and Models

Authors: Marvin L. Bittinger, Judith A. Beecher, David J. Ellenbogen, Judith A. Penna

5th edition

321845404, 978-0321791009, 321791002, 978-0321783950, 321783956, 978-0321845405

More Books

Students also viewed these Mathematics questions