Question

In: Statistics and Probability

Create a histogram of this data with 15 bins. Create a box plot of this data.

7, 9, 8, 11, 14, 7, 11, 17, 18, 12, 10, 9, 16, 17, 15, 13, 7, 12, 7, 8, 14, 16, 20, 12, 11, 14, 22, 8, 10, 14, 15, 20, 17, 14, 12, 22, 12, 15, 17, 16, 9, 11, 16, 18, 11, 12, 11, 9, 11, 9, 13, 7, 12, 9, 19, 9, 8, 15, 12, 16, 16, 20, 21, 9, 11, 17, 17, 8, 11, 7, 10, 17, 13, 15, 14, 11, 19,10, 11, 11, 9, 8, 9, 8, 8, 13, 12, 9, 12, 12, 14, 9, 13, 12, 8, 10, 19, 9, 15, 8, 18, 17, 14, 16, 12, 12, 13, 11, 12, 16, 15, 13, 10, 18, 10, 11, 16, 10, 15, 11, 22, 12, 18, 12, 12, 8, 9, 12, 12, 13, 7, 16, 14, 12, 15, 17, 11, 16, 17, 19, 16, 12, 12, 21, 16, 8, 12, 16, 13, 21, 11, 17, 11, 18, 13, 15, 11, 9, 11, 13, 9, 8, 11, 11, 15, 8, 7, 12, 16, 11, 12, 14, 18, 8, 13, 7, 13, 23, 14, 20, 18, 8, 11, 7, 16, 11, 18, 13, 22, 12

  1. Create a histogram of this data with 15 bins.
  2. Create a box plot of this data.

Solutions

Expert Solution

Please use the below R code in R to get answer

> x = c(7, 9, 8, 11, 14, 7, 11, 17, 18, 12, 10, 9, 16, 17, 15, 13, 7, 12, 7, 8, 14,
16, 20, 12, 11, 14, 22, 8, 10, 14, 15, 20, 17, 14, 12, 22, 12, 15, 17, 16, 9, 11,
16, 18, 11, 12, 11, 9, 11, 9, 13, 7, 12, 9, 19, 9, 8, 15, 12, 16, 16, 20, 21, 9,
11, 17, 17, 8, 11, 7, 10, 17, 13, 15, 14, 11, 19,10, 11, 11, 9, 8, 9, 8, 8, 13,
12, 9, 12, 12, 14, 9, 13, 12, 8, 10, 19, 9, 15, 8, 18, 17, 14, 16, 12, 12, 13, 11,
12, 16, 15, 13, 10, 18, 10, 11, 16, 10, 15, 11, 22, 12, 18, 12, 12, 8, 9, 12, 12,
13, 7, 16, 14, 12, 15, 17, 11, 16, 17, 19, 16, 12, 12, 21, 16, 8, 12, 16, 13, 21,
11, 17, 11, 18, 13, 15, 11, 9, 11, 13, 9, 8, 11, 11, 15, 8, 7, 12, 16, 11, 12, 14,
18, 8, 13, 7, 13, 23, 14, 20, 18, 8, 11, 7, 16, 11, 18, 13, 22, 12)
>max(x)
>hist(x, breaks=seq(min(x),max(x),l=15+1))
>boxplot(x,main = 'Boxplot')


Related Solutions

v Create a graph (either a histogram, box plot or stem and leaf plot … pick...
v Create a graph (either a histogram, box plot or stem and leaf plot … pick just one). Your graph could have either 5, 6 or 7 classes, depending on how you set it up. Create a table and list the class boundaries and the frequency in each class. You must explain to me in detail if you used fewer than 5 classes or more than 7 classes.
Make a Frequency Distribution Chart, Histogram and Box and Whiskers Plot for the following set of...
Make a Frequency Distribution Chart, Histogram and Box and Whiskers Plot for the following set of Data 50, 10, 25, 20, 20, 20, 50,100, 30, 15
Create a box plot for the data given in Problem. 18, 27, 34, 52, 54, 59,...
Create a box plot for the data given in Problem. 18, 27, 34, 52, 54, 59, 61, 68, 78, 78, 82, 82, 85, 87, 91, 93, 100
Create a histogram and relative frequency histogram for the data in table #2.2.10. Describe the shape...
Create a histogram and relative frequency histogram for the data in table #2.2.10. Describe the shape and any findings you can from the graph. Table #2.2.10: Data of Median Income for Females $31,862 $40,550 $36,048 $30,752 $41,817 $40,236 $47,476 $40,500 $60,332 $33,823 $35,438 $37,242 $31,238 $39,150 $34,023 $33,745 $33,269 $32,684 $31,844 $34,599 $48,748 $46,185 $36,931 $40,416 $29,548 $33,865 $31,067 $33,424 $35,484 $41,021 $47,155 $32,316 $42,113 $33,459 $32,462 $35,746 $31,274 $36,027 $37,089 $22,117 $41,412 $31,330 $31,329 $33,184 $35,301 $32,843 $38,177 $40,969...
Difference between box plot and histogram. Difference between lasso ridge and introduce dimension reduction techniques
Difference between box plot and histogram. Difference between lasso ridge and introduce dimension reduction techniques
5. What is the skewness and kurtosis of each data set? 6. Generate a histogram plot...
5. What is the skewness and kurtosis of each data set? 6. Generate a histogram plot of each of the data sets. 7. Based on the variability of the data, what do you think the next step would be to analyze the data? Age Income 29 9315 25 6590 28 9668 27 8412 25 1654 24 2431 25 6977 19 8966 27 9327 18 3871 25 9934 19 2236 19 3035 29 2518 19 3616 19 9219 28 1090 18...
Does anyone know the code to use in R programming to create a box plot?
Does anyone know the code to use in R programming to create a box plot?
Income: What is the meadian and Standard Diviation. Create a histogram of the data and write...
Income: What is the meadian and Standard Diviation. Create a histogram of the data and write a description of the findings. Data Set: SE-MaritalStatus SE-Income SE-FamilySize USD-Food USD-Housing Not Married 95432 1 7089 18391 Not Married 97469 4 6900 18514 Not Married 96664 3 7051 18502 Not Married 96653 4 6943 18838 Not Married 94867 1 6935 18633 Not Married 97912 1 6937 18619 Not Married 96886 2 6982 18312 Not Married 96244 4 7073 18484 Not Married 95366 2...
I am trying to create a Box Plot chart in SPSS. Horizontal Axis is Body Mass...
I am trying to create a Box Plot chart in SPSS. Horizontal Axis is Body Mass Index and the vertical Axis is body frame (small, medium, large). I would like to add in gender to show the difference in BMI and body frame, but haven't been able choose the correct steps to do that. Can you help me?
python3 Design a class named Histogram to display a histogram of data. The Histogram class contains...
python3 Design a class named Histogram to display a histogram of data. The Histogram class contains the following A number of instance variables/fields to store a histogram of data. You can design them by your own. A constructor that creates a histogram with the following a list of data. It may have more than 2 columns. x_width: the width of the 1st column in the horizontal histogram. The default value is 5. y_width: the width of the 2nd column in...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT