Simulate 200 samples of n 10 responses for hrssleep show


Use the pennstate1 dataset on the companion website for this exercise. The data for the variable HrsSleep are responses by n = 190 students to the question "How many hours did you sleep last night?" For this exercise, suppose that they are the whole population.

a. Simulate 200 samples of n = 10 responses for HrsSleep. Show the commands you used, or explain how you did the simulation.

b. Draw a histogram of the 200 sample means.

c. Describe the simulated sampling distribution you found in part (b).

d. Draw a histogram of the 200 sample medians for the samples you found in part (a).

e. Compare the sampling distributions for the sample mean and the sample median.

Request for Solution File

Ask an Expert for Answer!!
Basic Statistics: Simulate 200 samples of n 10 responses for hrssleep show
Reference No:- TGS02213730

Expected delivery within 24 Hours