Consider a population consisting of the following five values, which represent the number of video rentals during the academic year for each of five housemates:a. Compute the mean of this population.b. Select a random sample of size 2 by writing the numberson slips of paper, mixing them, and then selecting 2.Compute the mean of your sample.c. Repeatedly select samples of size 2, and compute thevalue for each sample until you have the results of 25samples.d. Construct a density histogram using the 25 values.Are most of the values near the population mean? Dothe values differ a lot from sample to sample, or do theytend to be similar?
3.1 Ans12) (a) Mean = Sum of all values divided by the number of values. Mean = ∑ x /n = 23/5 = 4.6 In order to calculate the median, we arrange the set of numbers in increasing order: 2 2 3 6 10. As the number of observations are odd, therefore median is the third value which is 3. Median = 3. Mode is the number that occurs most frequently in the given data. In this case, 2 occurs most frequently. So, mode is 2. (b)As per the question, we add 5 to each of the data values. New data set: 7 7 8 11 15. Mean = ∑ x /n = 48/5 = 9.6 In order to calculate the median, we arrange the set of numbers in increasing order: 7 7 8 11 15. As the number of observations are odd, median is the middle value which is the third value in this case. Median = 8. Mode is the number that occurs mos