8. Simulations To illustrate the general behavior of samples of fixed size n, 10000 samples each of size 30, 60 and 120 were generated from this uniform distribution and the means calculated. Probability histograms were created for each of these (simulated) sampling distributions. Notice all three of these look to be essentially normally distributed. Further, note that the variability decreases as the sample size increases. Means (n=120) 4 3 2 Means (n=60) 4 3 2 Means (n=30) 4 3 2
9. Simulations To further illustrate the general behavior of samples of fixed size n, 10000 samples each of size 4, 16 and 30 were generated from the positively skewed distribution pictured below. Notice that these sampling distributions all all skewed, but as n increased the sampling distributions became more symmetric and eventually appeared to be almost normally distributed. Skewed distribution
10. Terminology Let denote the mean of the observations in a random sample of size n from a population having mean µ and standard deviation . Denote the mean value of the distribution by and the standard deviation of the distribution by ( called the standard error of the mean ), then the rules on the next two slides hold.
11. Properties of the Sampling Distribution of the Sample Mean. Rule 2: This rule is approximately correct as long as no more than 5% of the population is included in the sample. Rule 1: Rule 3: When the population distribution is normal, the sampling distribution of is also normal for any sample size n.
12. Central Limit Theorem. Rule 4: When n is sufficiently large, the sampling distribution of is approximately normally distributed, even when the population distribution is not itself normal.
13. Illustrations of Sampling Distributions Symmetric normal like population
15. More about the Central Limit Theorem. The Central Limit Theorem can safely be applied when n exceeds 30. If n is large or the population distribution is normal, the standardized variable has (approximately) a standard normal (z) distribution.
16. Example A food company sells “18 ounce” boxes of cereal. Let x denote the actual amount of cereal in a box of cereal. Suppose that x is normally distributed with µ = 18.03 ounces and = 0.05. a) What proportion of the boxes will contain less than 18 ounces?
17. Example - continued b) A case consists of 24 boxes of cereal. What is the probability that the mean amount of cereal (per box in a case) is less than 18 ounces? The central limit theorem states that the distribution of is normally distributed so
18. Some proportion distributions where = 0.2 Let p be the proportion of successes in a random sample of size n from a population whose proportion of S’s (successes) is . 0.2 n = 10 0.2 n = 50 0.2 n = 20 0.2 n = 100
19. Properties of the Sampling Distribution of p Let p be the proportion of successes in a random sample of size n from a population whose proportion of S’s (successes) is . Denote the mean of p by p and the standard deviation by p . Then the following rules hold
20. Properties of the Sampling Distribution of p Rule 3: When n is large and is not too near 0 or 1, the sampling distribution of p is approximately normal.
21.
22. Example If the true proportion of defectives produced by a certain manufacturing process is 0.08 and a sample of 400 is chosen, what is the probability that the proportion of defectives in the sample is greater than 0.10? Since n 400(0.08) 10 and n(1- ) = 400(0.92) = 368 > 10, it’s reasonable to use the normal approximation.
24. Example Suppose 3% of the people contacted by phone are receptive to a certain sales pitch and buy your product. If your sales staff contacts 2000 people, what is the probability that more than 100 of the people contacted will purchase your product? Clearly = 0.03 and p = 100/2000 = 0.05 so
25. Example - continued If your sales staff contacts 2000 people, what is the probability that less than 50 of the people contacted will purchase your product? Now = 0.03 and p = 50/2000 = 0.025 so