Activity 6 - More Motivating Questions: In this problem, we willbe exploring the distribution of sample means,
Question:
Activity 6 - More Motivating Questions: In this problem, we willbe exploring the distribution of sample means, x-bar when samplesof various sizes are taken from another population. For this, youwill need to upload the "UCWages" data into RStudio.
1. Construct a histogram of the "Total Wages" data inside theUCWages file and compute the mean and standard deviation of thisdataset. Sketch and label your results below.
2. Now, let x-bar be the mean of a sample of n = 10 wages takenfrom this dataset. Use the replicate() function to simulate 10,000values of . Make a histogram of your data (use 40 breaks) andcompute its mean and standard deviation. Sketch and label yourresults below.
3. Lastly, let x-bar be the mean of a sample of n = 30 wagestaken from this dataset. Use the replicate() function to simulate10,000 values of 2. Make a histogram of your data (use 40 breaks)and compute the mean and standard deviation. Sketch and label yourresults below.
4. How do all your results compare?
Applied Regression Analysis and Other Multivariable Methods
ISBN: 978-1285051086
5th edition
Authors: David G. Kleinbaum, Lawrence L. Kupper, Azhar Nizam, Eli S. Rosenberg