In: Statistics and Probability
warpbreaks is a built-in R dataset which gives This data set
gives the number of warp breaks per loom, where a loom corresponds
to a fixed length of yarn. We are interested in some descriptive
statistics related to the warpbreaks dataset. We can access this
data directly and convert the time series into a vector by using
the assignment x <- warpbreaks$breaks. (In R, use ? warpbreaks
for info on this dataset.) The values of x if assigned as above
are:
[1] 26 30 54 25 70 52 51 26 67 18 21 29 17 12 18 35 30 36 36 21 24
18 10 43 28 15
[27] 26 27 14 29 19 29 31 41 20 44 42 26 19 16 39 28 21 39 29 20 21
24 17 13 15 15
[53] 16 28
You should get these values from the R assignment rather than
manually copying.
h. What proportion of the x values are within 1 sample standard
deviations away from the sample mean
i. Calculate the range of x. (one number)
j. How many times does the minimum value of x appear?
k. How many of the elements of x are smaller than the sample mean
of x?