Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please use Rstudio submit command other by hand 2. The cyl column of the mtcars dataset contains the number of cylinders in the engine of
Please use Rstudio submit command other by hand
2. The cyl column of the mtcars dataset contains the number of cylinders in the engine of each car, and is ordinal data (a) In R, compute the frequency table for the number of cylinders in the cars. Which is the most frequent number of cylinders? (b) In R, compute the relative frequency table for the number of cylinders in the cars. W hat percentage of cars have the most frequent number of cylinders! (c) In R, make a bar chart of the number of cars with each cylinder number Your graph should have appropriate axes labels and a title. 3. By hand (ie. not n R, but can use a calculator), compute the mean, median, trimmed mean (10%), and order statistics of the following dataset: 7, -1, 3, 8, 0, 5,10, 4, 6, 3 4. Create a dataset in which the mean and median are the same, but the trimmed mean (for your choice of % to trim by) is different. 2. The cyl column of the mtcars dataset contains the number of cylinders in the engine of each car, and is ordinal data (a) In R, compute the frequency table for the number of cylinders in the cars. Which is the most frequent number of cylinders? (b) In R, compute the relative frequency table for the number of cylinders in the cars. W hat percentage of cars have the most frequent number of cylinders! (c) In R, make a bar chart of the number of cars with each cylinder number Your graph should have appropriate axes labels and a title. 3. By hand (ie. not n R, but can use a calculator), compute the mean, median, trimmed mean (10%), and order statistics of the following dataset: 7, -1, 3, 8, 0, 5,10, 4, 6, 3 4. Create a dataset in which the mean and median are the same, but the trimmed mean (for your choice of % to trim by) is differentStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started