1 / 24

Sampling Distributions

Presentation 7. Sampling Distributions. Statistics VS parameters. Statistic – is a numerical value computed from a sample. Parameter – is a numerical value associated with a population.

Download Presentation

Sampling Distributions

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Presentation 7 Sampling Distributions

  2. Statistics VS parameters • Statistic – is a numerical value computed from a sample. • Parameter – is a numerical value associated with a population. • Essentially, we would like to know the parameter. But in most cases it is hard to know the parameter since the population is too large. So we have to estimate the parameter by some proper statistics computed from the sample.

  3. Quick Review • p = population proportion • = sample proportion (it is called p-hat) • μ = population mean • = sample mean Empirical rule: For Variables with a Normal (Bell-Shaped Distribution) ~68% of the values fall within +/- 1 standard deviation of the mean. ~95% of the values fall within +/-2 standard deviations of the mean.

  4. Sampling Distribution of the Sample Proportion Situation 1: A survey is undertaken to determine the proportion of PSU students who engage in under-age drinking. The survey asks 200 random under-age students (assume no problems with bias). Suppose the true population proportion of those who drink is 60% or p=.6 is the proportion in the sample who drink.

  5. Repeated Samples Imagine repeating this survey many times, and each time we record the sample proportion of those who have engaged in under-age drinking. What would the sampling distribution of look like? is a random variable assigning a value to each sample!

  6. Histogram of for 150k samples.

  7. Sampling Distribution of Derived from the Binomial Distribution Let X be the number of respondents who say they engage in under age drinking. What is the PDF of X? X is binomial with n=200 and p=.6 so we can calculate the probability of X for each possible outcome (0-200). The PDF is plotted below:

  8. Sampling Dist. of • Since the is simply X/n it follows that the sampling distribution of is the same as that of the binomial distribution divided by n.

  9. Normal Approximation for Sample Proportions • The sampling distribution of is approximately normal with mean p and standard deviation if the following conditions are satisfied: • A random sample is selected from the population. Even if the sample is not perfectly random, as long as it is free from bias it will be okay. • Sample must be large enough, np and n(1-p) MUST be greater than 5, and should be greater than 10.

  10. Example: Problem 9.11 • Recent studies have shown that about 20% of American adults fit the medical definition of being obese. A large medical clinic would like to estimate what percent of their patients are obese, so they take a random sample of 100 patients and find that 18 percent are obese. Suppose in truth, the same percentage holds for the patients of the medical clinic as for the general population, 20%. Give a numerical value of each of the following….

  11. Problem 9.11 Cont. • The population proportion of obese patients in the medical clinic, p = .2 • The proportion of obese patients in the sample of 100 patients, = 18/100 = 0.18 • The standard error of , = 0.0384 • The mean of the sampling distribution of = p = .2 • The standard deviation of the sampling distribution of , = .04

  12. Sampling Distribution of the Sample Mean Situation 2: The mean height of women age 20 to 30 is normally distributed (bell-shaped) with a mean of 65 inches and a standard deviation of 3 inches. A random sample of 200 women was taken and the sample mean recorded. Now IMAGINE taking MANY samples of size 200 from the population of women. For each sample we record the . What is the sampling distribution of ?

  13. Histograms for the Distribution of X and X-Bar Original Population of Women: X= height of random woman Distribution of Sample Means: X-bar = mean of random sample of size 200.

  14. For Normal Data: • Consider a random variable X with mean μ and standard deviation σ. • The sampling distribution of the sample mean for sample of size n, is normal with… What about for skewed or non-normal data?

  15. CD Data from the Class Survey Situation 3: Clearly CDs is a right skewed data set. Suppose our population looked something like this, let us take repeated samples from this population and see what the sample mean looks like.

  16. Suppose we take repeated samples of size, 4, 8, 16, 32 n = 4 n = 8 n = 16 n = 32

  17. Statistics From Skewed Data • Using that CD sample as the population, µ = 87.6, σ = 87.8 The sample means from the previous slide had the following summary statistics: Note: that the mean remains constant, and the std. deviation decreases as the sample size increases!

  18. Conclusions and Conditions for the Sample Mean • For non-normal data the sampling distribution of the sample mean is approximately normal with mean μ and standard deviation σ/ • Conditions! The above is true if the sample size is large enough, usually n greater than 30 is sufficient.

  19. What next? • We have shown that both the sampling distribution of the sample proportion, and the sampling distribution of the sample mean are both normal under certain conditions. • Now we can use what we know about normal distributions to draw conclusions about and ! • Situation 4, demonstrates how to use the sampling distribution of p-hat to draw conclusions.

  20. Situation 4: A certain antibiotic in known to cure 85% of strep bacteria infections. A scientist wants to make sure the drug does not lose its potency over time. He treats 100 strep patients with a 1 year old supply of the antibiotic. Let be the proportion of individuals who are cured. ASSUME the drug has NOT lost potency, answer the following questions… • What is the sampling distribution of ? • If we repeated this study many times we would expect 95% of to fall within what interval? • What is the probability that more than 90% in the sample are cured? • Suppose the scientist observed a cure rate of only 75%, would he be justified in concluding the 1 year old drug is less effective?

  21. 1. What is the sampling distribution of ? • Since both np = 85 and n(1-p) = 15 are greater than 10, and if we assume the sample is random/representative…. Then the sampling distribution of is approximately normal with mean p=.85 and standard deviation = .036.

  22. 2. If we repeated this study many times we would expect 95% of to fall within what interval? • The empirical rule states that for a normally distributed variable ~95% of the values fall within +/- 2 standard deviations of the mean. • So 95% of the should fall within .85+/- 2*.036 or there is 95% probability that the proportion cured should be between 78% and 92%

  23. 3. What is the probability that more than 90% in the sample are cured? • In other words what is P( >.9)? First calculate a z-score… Z-score = [value-mean]/StdDev Z-score = [.9-.85]/.036 =1.4 P( >.9) = P(Z>1.4 ) = 1- P(Z<1.4 ) = 1-.9192 = .0808

  24. 4. Suppose the scientist observed a cure rate of only 75%, would he be justified in concluding the 1 year old drug is less effective? • In other words, assuming the cure rate is actually 85%, what is the chance he would observe as sample proportion equal or less than 75%? What is P( .75)? Z-score = [.75-.85]/.036 = -2.80 P( .75) = P(Z< -2.80) = .0026 We will see some examples about how to use the sampling distribution of the sample mean in class activities…but it is similar idea.

More Related