Presentation is loading. Please wait.

Presentation is loading. Please wait.

Sampling Distributions

Similar presentations


Presentation on theme: "Sampling Distributions"— Presentation transcript:

1 Sampling Distributions
Central Limit Theorem

2 Objectives Investigate the variability in sample statistics from sample to sample Find measures of central tendency for distribution of sample statistics Find measures of dispersion for distribution of sample statistics. Find the pattern of variability for sample statistics

3 Distribution of Sample Mean

4 Overview A new sample mean can be calculated each time a new sample is taken In this way, the sample mean can be analyzed as a random variable Being able to calculate (approximately) the distribution of the sample mean is a critical tool for inference

5 Learning Objectives Understand the concept of a sampling distribution
Describe the distribution of the sample mean for samples obtained from normal populations Describe the distribution of the sample mean for samples obtained from a population that is not normal

6 Statistical Inference
Often the population is too large to perform a census … so we take a sample How do the results of the sample apply to the population? What’s the relationship between the sample mean and the population mean? What’s the relationship between the sample standard deviation and the population standard deviation? This is statistical inference

7 Estimation We want to use the sample mean to estimate the population mean μ If we want to estimate the heights of eight year old girls, we can proceed as follows Randomly select 100 eight year old girls Compute the sample mean of the 100 heights Use that as our estimate This is using the sample mean to estimate the population mean

8 Sample Mean is a Variable
Usually, we just take one single sample to estimate population parameter. However, if we take a series of different random samples from a target population Sample 1 – we compute sample mean x1 Sample 2 – we compute sample mean x2 Sample 3 – we compute sample mean x3 Etc. Each time we sample, we may get a different result The sample mean is a random variable!

9 Distribution of Sample Mean
Because the sample mean is a random variable The sample mean has a probability distribution We can obtain the center and spread of the probability distribution of the sample mean This is called the distribution of the sample mean Because the sample mean is a sample statistic, a distribution of a sample statistic is often called a sampling distribution. So, the distribution of the sample mean is also called sampling distribution of the mean.

10 Example 1 Consider a population of a uniformly distributed variable X with all of the values in the set {1, 2, 3, 4} occurring equally likely: Calculate the mean and standard deviation of the population. Make a list of all samples of size 2 that can be drawn from this set (Sample with replacement) Construct the sampling distribution for the sample mean for samples of size 2 Calculate the center and spread of the sampling distribution for the sample mean Compare 1) and 4)

11 Example 1 (continued) Mean of the population distribution of the variable X, denoted by mx or simply m: Variance of the population distribution of the variable X, denoted by sx2 or simply s2 : Standard deviation of the population distribution of the variable X, denoted by sx or simply s :

12 Example 1 (continued) Sample Sample Mean Probability {1,1} 1.0 1/16 {1,2} 1.5 {1,3} 2.0 {1,4} 2.5 {2,1} {2,2} {2,3} {2,4} 3.0 {3,1} {3,2} {3,3} {3,4} 3.5 {4,1} {4,2} {4,3} {4,4} 4.0 This table lists all possible samples of size 2, the mean for each sample, and the probability of each sample occurring (all equally likely)

13 Example 1 (continued) Summarize the information in the previous table to obtain the sampling distribution of the sample mean : Histogram: Sampling Distribution of the Sample Mean Sampling Distribution of the Sample Mean Notice that the sampling distribution of the sample mean is normal.

14 Example 1 (continued) Mean of the sampling distribution of the sample mean , denoted by is: Variance of the sampling distribution of the sample mean , denoted by is : Standard deviation of the sampling distribution of the sample mean , denoted by is:

15 Example 1 (continued) From the above example, we conclude that
Sampling distribution of the sample mean tends to be bell-shaped. The mean of the sampling distribution of the sample mean is the same as the underlying population mean. That is The standard deviation of the sampling distribution of the sample mean is less than the standard deviation of the population standard deviation. In fact, Check:

16 Example 2 We have the data and we want to take samples of size n = 3
1, 7, 11, 12, 17, 17, 17, 21, 21, 21, 22, 22 and we want to take samples of size n = 3 First, a histogram of the entire data set

17 Example 2 (continued) A histogram of the entire data set
Definitely skewed left … not bell shaped

18 Example 2 (continued) Taking some samples of size 3
The first sample, 17, 21, 12, has a mean of 16.7 The second sample, 17, 7, 17 has a mean of 13.7 The third sample, 22, 11, 21 has a mean of 18

19 Example 2 (continued) More sample means from more samples
We calculate the mean for each sample as shown below:

20 Example 2 (continued) Finally, a histogram of 20 sample means

21 Example 2 (continued) The original data set was highly left skewed, but the set of sample means is less skewed and closer to bell shaped

22 Example 2 (continued) If taking a sample of size 5 repeatedly 20 times. Here is a histogram of 20 sample means: Observe that the empirical distribution of sample means is more closer to bell shaped when the size of the sample increases.

23 Distribution of Sample Mean
In general, if the underlying population is closer to be bell shaped (normally distributed), then the sampling distribution (i.e. the distribution of sample mean) will tend to be more bell shaped as well. In fact, the sampling distribution Will be normally distributed Will have a mean equal to the mean of the population Will have a standard deviation less than the standard deviation of the population

24 Distribution of Sample Mean
Why does it have a smaller standard deviation? The population standard deviation Is a measure of the distance/deviation between an individual value and the population mean Is a standard deviation of the sample mean for n = 1 The standard deviation of the sample mean Is a measure of the distance/deviation between the sample mean and the mean of the sampling distribution (which is the same as the population mean) It makes sense that the estimate of the population mean using a sample mean is more accurate (closer to the population mean) if the sample contains more values (a larger n) from the population. Therefore, the larger the sample size, the less of the deviation of the sample mean from the true population mean. => standard deviation of sample mean is inversely related to the sample size n.

25 Sampling Distribution of Sample Mean
If a simple random sample of size n is drawn from a population, then the sampling distribution has Mean x and Standard deviation In addition, if the population is normally distributed, then The sampling distribution is normally distributed

26 Standard Error The standard deviation of the sample mean
is also called the standard error The formula for is This is an extremely important formula

27 Example If the random variable X has a normal distribution with a mean of 20 and a standard deviation of 12 If we choose samples of size n = 4, then the sample mean will have a normal distribution with a mean of 20 and a standard deviation of 6 (since ) If we choose samples of size n = 9, then the sample mean will have a normal distribution with a mean of 20 and a standard deviation of 4 ( since ) Note: if the underlying population distribution is normal, the sampling Distribution of sample mean will be noraml regarless if the sample size is large or small.

28 Sampling Distribution of sample Mean
This is great if our random variable X has a normal distribution However … what if underlying population distribution of the random variable X does not have a normal distribution What can we say about the sampling distribution of the sample mean? Wouldn’t it be very nice if the sampling distribution for sample mean also was normal? This is almost true …

29 Central Limit Theorem The Central Limit Theorem states
Regardless of the shape of the underlying population distribution, the sampling distribution of the sample mean becomes approximately normal as the sample size n increases. Thus If the random variable X is normally distributed, then the sampling distribution of the sample mean is normally distributed also regardless the size of the sample. For all other random variables X, the sampling distributions are approximately normally distributed if the size of the sample is large enough.

30 Graphical Illustration of the Central Limit Theorem
Original Population 30 Distribution of x: n = 2 30 Distribution of x: n = 10 Distribution of x: n = 30

31 How large is the sample? This approximation, of the sampling distribution being normal, is good for large sample sizes … large values of n How large does n have to be? A rule of thumb – if n is 30 or higher, this approximation is probably pretty good

32 Applications of the Central Limit Theorem
When the sampling distribution of the sample mean is (exactly) normally distributed, or approximately normally distributed (by the CLT), we can answer probability questions using the standard normal distribution.

33 Example 1 We’ve been told that the average weight of giraffes is 2400 pounds with a standard deviation of 300 pounds We randomly picked 50 giraffes and measured them and found that the sample mean was 2600 pounds Is our data consistent with what we’ve been told? ( That is, does the sample mean of 2600 pounds observed support the claim that the average of population giraffes is 2400 pounds?)

34 Example 1 (continued) Although we do not know the shape of the distribution of giraffe’s weight. Since the sample size is 50 which is large enough to justify the central limit theorem. The sampling distribution of the average weight of 50 giraffes is expected to be approximately normal with mean 2400 pounds (the same as the population) and a standard deviation of 300 / √ 50 = 42.4 pounds Using our calculations for the general normal distribution, 2600 is 200 pounds over 2400, and 200 pounds is 200 / 42.4 = That is the Z-score for the average weight of 2600 is 4.7 which is a value near the end of the right tail of a standard normal distribution. From our normal calculator, probability obtaining an average at least this large by chance is less than Something is definitely strange … we’ll see what to do later in inferential statistics

35 Example 2 Consider a normal population with m = 50 and s =15. Suppose a sample of size 9 is selected at random. Find: P x ( ) 45 60 . 47 5 1) 2) Solutions: Since the original population is normal, the distribution of the sample mean is also (exactly) normal with 1) m x = 50 s x n = 15 9 3 5 2) use TI calculator to find the probability : normalcdf(45,60,50,5) = normalcdf(-E99,47.5,50,5) =

36 Example 2 (continued) P x z ( ) . 45 60 50 5 1.00 2.00) 3413 4772 8185
Or, use Z-table to solve: 50 45 60 x - 1.00 2.00 P x z ( ) . 45 60 50 5 1.00 2.00) 3413 4772 8185 = - æ è ç ö ø ÷ + z = ; x -  s n

37 Example 2 (continued) P x z ( . ) £ = - æ è ç ö ø ÷ 47 5 50 5000 1915
47.5 x -0.50 P x z ( . ) = - æ è ç ö ø ÷ 47 5 50 5000 1915 3085 z = ; x -  s n

38 Example 3 A recent report stated that the day-care cost per week in Boston is $109. Suppose this figure is taken as the mean cost per week and that the standard deviation is known to be $20. Find the probability that a sample of 50 day-care centers would show a mean cost of $105 or less per week. Suppose the actual sample mean cost for the sample of 50 day-care centers is $120. Is there any evidence to refute the claim of $109 presented in the report? Solutions: The shape of the original distribution is unknown, but the sample size, n = 50, is large. The CLT applies. The distribution of is approximately normal with x m s n = 109 20 50 2 83 .

39 Example 3 (continued) 1) x P z ( ) . £ = - æ è ç ö ø ÷ 105 109 2 83 1
Use Z-table: x x P z ( ) . = - æ è ç ö ø ÷ 105 109 2 83 1 41 5000 4207 0793 z = ; x -  s n Or, Use TI calculator: normalcdf(-E99,105,109,2.83) =

40 Example 3 (continued) 2) z = ; x -  s n P x z ( ) . ³ = - æ è ç ö ø ÷
To investigate the claim, we need to examine how likely an observation is the sample mean of $120 Consider how far out in the tail of the distribution of the sample mean is $120. P x z ( ) . = - æ è ç ö ø ÷ 120 109 2 83 3 89 = z = ; x -  s n Or using TI calculator: normalcdf(120,E99,120,2.83) = 5.08E-5 Since the probability is so small, this suggests the observation of $120 is very rare (if the mean cost is really $109) There is evidence (the sample) to suggest the claim of  = $109 is likely wrong

41 Summary The sample mean is a random variable with a distribution called the sampling distribution If the sample size n is sufficiently large (30 or more is a good rule of thumb), then this distribution is approximately normal The mean of the sampling distribution is equal to the mean of the underlying population The standard error/deviation of the sampling distribution is equal to

42 Distribution of the Sample Proportion

43 Learning Objective Describe the sampling distribution of a sample proportion Calculate probabilities of a sample proportion

44 Sample Proportion In an election, polling companies wish to estimate the percent of people who will vote for each candidate This clearly is a situation for sampling as it is impractical to contact every single voter The desired results are proportions, for example that 59% of the voters (a proportion of 0.59) said that they will vote for candidate A

45 Sampling Distribution of Sample Proportion
We have the same questions for the sample proportion as we had for the sample mean What is the mean for the sampling distribution of the sample proportion? What is the standard deviation for the sampling distribution of the sample proportion? What is the distribution of the sample proportion? Can we apply the Central Limit Theorem to approximate these with normal distributions? The answer is yes …

46 Sample Proportions A random sample is take Of size n
Each individual either has or does not have a certain characteristic (dichotomous outcomes) In total, there are x individuals that have this characteristic Then the sample proportion (p hat) (the proportion of individuals with this characteristic is given by

47 Example If a polling company polled 800 people to see if they supported a certain issue and 475 did, then we have a sample proportion problem with n = 800 x = 475 and a sample proportion of

48 Sampling Distribution of Sample proportion
If the population proportion is p, then the distribution of the sample proportion for a sample of size n Is approximately normal if np(1-p) ≥ 10 Has a mean of Has a standard deviation of

49 Example Assume that 80% of the people taking aerobics classes are female and a simple random sample of n = 100 students is taken What is the probability that at most 75% of the sample students are female? If the sample had exactly 90 female students, would that be unusual?

50 Example (continued) The sample proportion of aerobics students who are female Has an approximately normal distribution Has a mean of 0.80 and a standard deviation of 0.04 What is the probability that is 0.75 or less? 0.75 is 0.05 less than the mean of 0.80 0.05 is 1.25 standard deviations less than the mean (i.e. the z-score is –1.25) The normal probability P(z ≤ –1.25) = .1056 Thus P( ≤ 0.75) = .1056 Note: To obtain P( ≤ 0.75) = .1056, apply TI graphing calculator with normalcdf(-E99,-1.25,0,1) or normalcdf(-E99,0.75, 0.80,0.04) [or normalcdf(0,0.75,0.80,0.04),since probability can’t be less than zero.]

51 Example (continued) The sample proportion of aerobics students who are female Has an approximately normal distribution Has a mean of 0.80 and a standard deviation of 0.04 What is the probability that is 0.90 or more? Notice that instead of finding the probability being exactly 0.90 (which will be zero using normal distribution), we can justify if 0.90 is unusual or not (proportion is too high) by evaluating the probability being at least as high as 0.90, since 0.90 is larger than the expected value of 0.80. 0.90 is 0.10 more than the mean of 0.80 0.10 is 2.5 standard deviations more than the mean (i.e. the z-score is 2.5) The normal probability P(z ≥ 2.5) = .0062 Thus P( ≥ 2.5) = … pretty unlikely Note: To obtain P( ≥ 2.5) = , apply TI-calculator with normcdf(2.5,E99,0,1) = or normcdf(0.9, E99,0.8,0.04) = [or normcdf(0.9,1,0.8,0.04) , since probability can only go up to 1]

52 Summary The sample proportion, like the sample mean, is a random variable If the sample size n is sufficiently large and the population proportion p isn’t close to either 0 or 1, then this distribution is approximately normal The mean of the sampling distribution is equal to the population proportion p The standard deviation of the sampling distribution is equal to

53 Summary of Sampling Distributions

54 Summary The sample mean and the sample proportion can be considered as random variables The sample mean is approximately normal with A mean equal to the population mean A standard deviation equal to The sample proportion is approximately normal with A mean equal to the population proportion


Download ppt "Sampling Distributions"

Similar presentations


Ads by Google