Use the link in the Jupyter Notebook activity to access your Python scriipt. Once you have made your calculations, complete this discussion. The scriipt will output answers to the questions given below. You must attach your Python scriipt output as an HTML file and respond to the questions below.
In this discussion, you will apply the central limit theorem and use principles of the Normal distribution to calculate probabilities. You will demonstrate two key parts of the central limit theorem:
The distribution of sample means is approximately Normally distributed (bell-shaped) as the sample size increases and we repeatedly draw these samples, regardless of the shape of the population distribution from which the samples are drawn.
The average of all sample means is equal to the population mean. In practice, the average of all sample means will closely approximate the population mean.
You will generate a population data set representing total precipitation (TPCP) in tenths of a millimeter using Pythons numpy module. The distribution of this data set will be skewed. This data set will be unique to each student, and therefore the answers will be unique as well. Run Step 1 in the Python scripts to generate your unique population data.
In your initial post, address the following items:
In the Python scriipt, you created a histogram for the dataset generated in Step 1. Check to make sure that this data distribution is skewed and included in your attachment. See Step 2 in the Python scriipt.
What is the mean of the TPCP population data? See Step 3 in the Python scriipt.
In the Python scriipt, you selected a random sample with replacement, of size 50 (note that this is a sufficiently large sample), from the TPCP population. What is the mean of your random sample? Does this sample mean closely approximate the TPCP population mean? See Step 4 in the Python scriipt.
You also selected 1,000 random samples of size 50 and calculated the mean of each sample. Then you stored those means into a dataframe. Check to make sure the output of this step is in your attachment. See Step 5 in the Python scriipt.
Review the plotted data distribution for these 1,000 means. Does this approximate a Normal distribution? Does this confirm the first part of the central limit theorem? Why or why not? See Step 6 in the Python scriipt.
What is the grand mean and standard deviation of these 1,000 means? Does the grand mean closely approximate (on a relative basis) the mean of the original distribution? Does this confirm the second part of the central limit theorem? Why or why not? See Step 7 in the Python scriipt.
Recall that your distribution of 1,000 means is Normally distributed even though the population distribution was skewed and the grand mean closely approximates the population mean. In your follow-up posts to other students, review your peers results and provide some analysis and interpretation.
Is their population distribution skewed? Is their distribution of 1,000 sample means approximately Normally distributed? Does this confirm the first part of the central limit theorem? Why or why not?
Does their grand mean closely approximate their population mean? Does this confirm the second part of the central limit theorem? Why or why not?
Based on this discussion activity, what have you learned about the central limit theorem?
Remember to attach your Python output and respond to all questions in your initial and follow-up posts. Be sure to clearly communicate your ideas using appropriate terminology. Finally, be sure to review the Discussion Rubric to understand how you will be graded on this assignment.