11.7 Working with the large data set — Practise
Work through these on your own. Clean the data before you calculate, and state the unit in your answer.
The questions and the answers below come from a set that is checked by computer every time the book is built. The tables in the questions are small extracts that stand in for your board's data set.
- A large data set holds 4000 days of weather records. A simple random sample of 200 days contains 50 wet days. Estimate the number of wet days in the whole data set.
- A data set contains 1200 days from station A and 800 days from station B. A stratified sample of 100 days is taken. Find the number of days from station A.
- An extract groups daily rainfall into – mm with frequency 30 and – mm with frequency 40. Find the frequency density of the – mm class.
- A histogram of daily sunshine has frequency density 6 in the class – hours. Find the frequency in the class.
- A histogram of daily rainfall has frequency density 3 in the class – mm. Find the number of days with rainfall between mm and mm.
- Six daily maximum temperatures, in degrees Celsius, are . Find the mean.
- Find the standard deviation of , dividing by .
- Find the interquartile range of , using the positions.
- A data set has , and IQR . Find the two fences for a possible outlier.
- One day in an extract has a missing rainfall value. The five known values are mm. Find the mean of the known values.
- A temperature is recorded as degrees Fahrenheit, but the rest of the data are in degrees Celsius. Convert degrees Fahrenheit to degrees Celsius.
- A scatter diagram from a large data set plots hours of sunshine against temperature, and a line of best fit passes through and . Find the gradient of the line.
Answers and concise solutions
1. The estimated number of wet days
Answer: The sample proportion is , so the estimate is wet days. Here the data set is the population and the 200 days are a sample from it.
2. The sample size from station A
Answer: The total is 2000 days, so station A contributes days. Stratifying keeps the two stations in proportion.
3. The frequency density
Answer: The class width is , so the frequency density is . The two classes have different widths, so a histogram is needed.
4. The frequency
Answer: The frequency is the area of the bar: days.
5. The number of days
Answer: The part from mm to mm has width 6, so the frequency is days.
6. The mean
Answer: The values sum to 120, and there are 6 of them, so the mean is degrees Celsius.
7. The standard deviation
Answer: The mean is 20. The squared deviations sum to 10, so the variance is and (3 s.f.). This is the population convention, dividing by ; some software divides by .
8. The interquartile range
Answer: In order the values are . The position of is , giving 18.75. The position of is , giving 21.25. The IQR is .
9. The two fences
Answer: The fences are and . A value below 15 or above 25 is a possible outlier in this data set.
10. The mean of the known values
Answer: The known values sum to 70 over 5 days, so the mean is mm. Report that one value was missing, so the sample used fewer days.
11. The temperature in degrees Celsius
Answer: Use : degrees Celsius. Convert every value to one unit before calculating.
12. The gradient
Answer: The gradient is , so each extra hour of sunshine is associated with about 2 degrees Celsius more. The correlation is positive; it does not by itself prove that sunshine causes the rise.