Question

In: Statistics and Probability

Construct a frequency distribution for the motor fuel octane data below using RStudio: Rating 88.5 94.7...

Construct a frequency distribution for the motor fuel octane data below using RStudio:

Rating
88.5
94.7
84.3
90.1
89
89.8
91.6
90.3
90
91.5
89.9
98.8
88.3
90.4
91.2
90.6
92.2
87.7
91.1
86.7
93.4
96.1
89.6
90.4
91.6
90.7
88.6
88.3
94.2
85.3
90.1
89.3
91.1
92.2
83.4
91
88.2
88.5
93.3
87.4
91.1
90.5
100.3
87.6
92.7
87.9
93
94.4
90.4
91.2
86.7
94.2
90.8
90.1
91.8
88.4
92.6
93.7
96.5
84.3
93.2
88.6
88.7
92.7
89.3
91
87.5
87.8
88.3
89.2
92.3
88.9
89.8
92.7
93.3
86.7
91
90.9
89.9
91.8
89.7
92.2

You need to use R. Please show all work

Solutions

Expert Solution

The R code is:

Rating <- c(88.5,   94.7,   84.3,   90.1,   89,   89.8,   91.6,   90.3,   90,   91.5,   89.9,   98.8,   88.3,   90.4,   91.2,   90.6,   92.2,   87.7,   91.1,   86.7,   93.4,   96.1,   89.6,   90.4,   91.6,   90.7,   88.6,   88.3,   94.2,   85.3,   90.1,   89.3,   91.1,   92.2,   83.4,   91,   88.2,   88.5,   93.3,   87.4,   91.1,   90.5,   100.3,   87.6,   92.7,   87.9,   93,   94.4,   90.4,   91.2,   86.7,   94.2,   90.8,   90.1,   91.8,   88.4,   92.6,   93.7,   96.5,   84.3,   93.2,   88.6,   88.7,   92.7,   89.3,   91,   87.5,   87.8,   88.3,   89.2,   92.3,   88.9,   89.8,   92.7,   93.3,   86.7,   91,   90.9,   89.9,   91.8,   89.7,   92.2)
table(Rating)
bins <- seq(83.4, 100.3,by = 2)
Rating <- cut(Rating, bins)
transform(table(Rating))

The R output is:

The answer is:

Rating Freq
1 (83.4,85.4] 3
2 (85.4,87.4] 4
3 (87.4,89.4] 20
4 (89.4,91.4] 27
5 (91.4,93.4] 18
6 (93.4,95.4] 5
7 (95.4,97.4] 2
8 (97.4,99.4] 1


Related Solutions

Construct a frequency distribution for the given data set using 6 classes. In the​ table, include...
Construct a frequency distribution for the given data set using 6 classes. In the​ table, include the​ midpoints, relative​ frequencies, and cumulative frequencies. Which class has the greatest frequency and which has the least​ frequency? Amount (in dollars) spent on books for a semester 524 56 388 225 468 545 213 117 441 405 429 419 481 263 197 145 167 357 50 357 191 204 410 109 473 311 89 88 117 Complete the​ table, starting with the lowest...
Use EXCEL Construct Distribution: For each variable, construct Empirical distribution: Frequency Distribution and Relative Frequency Distribution...
Use EXCEL Construct Distribution: For each variable, construct Empirical distribution: Frequency Distribution and Relative Frequency Distribution (and if warranted, construct Cumulative Relative Distribution.) Apply a meaningful chart type to present each of the Relative Frequency Distribution (and Cum. Rel. Freq.) calculated in part “a”. (Freq. Dist. Plot is not necessary). Savings Months Employed Age Housing Credit Risk 1 $739 12 23 Own Low 2 $1,230 0 32 Own High 3 $389 119 38 Own High 4 $347 14 36 Own...
For the data below, create a frequency distribution, a cumulative frequencydistribution, a cumulative frequency distribution, and...
For the data below, create a frequency distribution, a cumulative frequencydistribution, a cumulative frequency distribution, and a percentage distribution. Then, calculate and report the mean and mode. Submit a photo of your work. 20, 19, 18, 18, 18, 17, 16, 16, 15, 14, 13, 13, 11
A survey was conducted to investigate motor fuel octane ratings of several blends of gasoline, and...
A survey was conducted to investigate motor fuel octane ratings of several blends of gasoline, and the following data is presented: 88.5 98.8 89.6 92.2 92.7 88.4 87.5 90.9 94.7 88.3 90.4 83.4 87.9 92.6 87.8 89.9 84.3 90.4 91.6 91.0 93.0 93.7 88.3 91.8 90.1 91.2 90.7 88.2 94.4 96.5 89.2 89.7 89.0 90.6 88.6 88.5 90.4 84.3 92.3 92.2 89.8 92.2 88.3 93.3 91.2 93.2 88.9 91.6 87.7 94.2 87.4 86.7 88.6 89.8 90.3 91.1 85.3 91.1 94.2...
A survey was conducted to investigate motor fuel octane ratings of several blends of gasoline, and...
A survey was conducted to investigate motor fuel octane ratings of several blends of gasoline, and the following data is presented: 88.5 98.8 89.6 92.2 92.7 88.4 87.5 90.9 94.7 88.3 90.4 83.4 87.9 92.6 87.8 89.9 84.3 90.4 91.6 91.0 93.0 93.7 88.3 91.8 90.1 91.2 90.7 88.2 94.4 96.5 89.2 89.7 89.0 90.6 88.6 88.5 90.4 84.3 92.3 92.2 89.8 92.2 88.3 93.3 91.2 93.2 88.9 91.6 87.7 94.2 87.4 86.7 88.6 89.8 90.3 91.1 85.3 91.1 94.2...
Two different formulations of an oxygenated motor fuel are being tested to study their road octane...
Two different formulations of an oxygenated motor fuel are being tested to study their road octane numbers. The population variance of road octane number for formulation 1 is =1.5, and for formulation 2, it is =1.2. Two random samples of size =15 and =20 are tested, and the mean road octane numbers observed are =89.6 and =92.5. Assume normality. a.) Construct a 95% two-sided confidence interval on the difference in mean road octane number. b.) If formulation 2 produces a...
Two different formulations of an oxygenated motor fuel are being tested to study their road octane...
Two different formulations of an oxygenated motor fuel are being tested to study their road octane numbers. The population variance of road octane number for formulation 1 is =1.5, and for formulation 2, it is =1.2. Two random samples of size =15 and =20 are tested, and the mean road octane numbers observed are =89.6 and =92.5. Assume normality. a.) Construct a 95% two-sided confidence interval on the difference in mean road octane number. b.) If formulation 2 produces a...
For the following sample, display the data using a frequency distribution table and then using a...
For the following sample, display the data using a frequency distribution table and then using a histogram . Assume the data is continuous and measured on a ratio scale. 23 21 18 17 17 15 20 3 4 28 16 15 15 15 27 2 3 15 16 16 a) How would you describe the shape of the distribution? b) Which is the most appropriate measure of central tendency? c) Calculate the most appropriate measure of central tendency.
–Construct a reasonable frequency distribution of High School GPA (HSGPA) –Construct a histogram –Present the frequency...
–Construct a reasonable frequency distribution of High School GPA (HSGPA) –Construct a histogram –Present the frequency distribution and histogram There are a total of 196 HS student GPAs. 1.6, 2, 2.1, 2.1, 2.2, 2.2, 2.2, 2.4, 2.4, 2.5, 2.5, 2.5, 2.5, 2.5, 2.6, 2.7, 2.75, 2.75, 2.75, 2.75, 2.75, 2.8, 2.8, 2.8, 2.9, 2.9, 2.9, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3.1, 3.1, 3.1, 3.2, 3.2, 3.2,...
The data represents the daily rainfall​ (in inches) for one month. Construct a frequency distribution beginning...
The data represents the daily rainfall​ (in inches) for one month. Construct a frequency distribution beginning with a lower class limit of 0.000.00 and use a class width of 0.200.20. Does the frequency distribution appear to be roughly a normal​ distribution? 0.480.48 0 0 0 0.180.18 0 0.180.18 0 0.020.02 0.220.22 0.450.45 0 0 0.240.24 0 0.290.29 0 0.540.54 0 1.391.39 0 0 0.190.19 0 0.010.01 0 0.260.26 0 0.210.21 0
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT