1 / 39

Chapter 8

Chapter 8. Sampling Distribution of a Statistic. Binomial Distribution. A binomial random variable X is the total number of successes in n independent Bernoulli trials, on which each trial, the probability of success is p. We say X is B ( n,p ).

allene
Download Presentation

Chapter 8

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. Chapter 8 Sampling Distribution of a Statistic

  2. Binomial Distribution • A binomialrandom variable X is the total number of successes in n independent Bernoulli trials, on which each trial, the probability of success is p. We say X is B(n,p).

  3. Mean and Standard Deviation of a Binomial Distribution

  4. Approximating the Binomial with the Normal • We can use the normal distribution to approximate the binomial when np ≥ 5 and nq ≥ 5. • If X is B(n, p) and np ≥ 5 and nq ≥ 5 then X can be approximated by

  5. Homework 15 • Read: pages 499-504, 509-510, 522, 525 • LDI: 8.5, 8.6, 8.7 (LDI 8.1 and 8.2 are EC) • EX: 8.1, 8.4, 8.7, 8.8, 8.11, 8.12

  6. Definition • The sampling distribution of a statistic is the distribution of values of the statistic in all possible samples of the same size n taken from the same population.

  7. Proportion of Women • In rural China, many villages are experiencing a lack of women. This suggests the the proportion of women in the population is less than 50%. • We want to estimate the proportion of women in rural villages in China, so we’ll take a sample

  8. Sample Proportion (statistic)

  9. Population Proportion (parameter)

  10. Hit List

  11. What Do We Expect of Sample Proportions? • The values of the sample proportion vary from random sample to random sample in a predictable way. • The shape of the distribution of the sample proportion is approximately symmetric and bell-shaped. • BISIM

  12. What Do We Expect of Sample Proportions? • The center of the distribution of the sample proportion values is at the true population proportion p. • With a larger sample size n, the sample proportion values tend to be closer to the true population proportion p. The values vary less around p.

  13. The Definition of p-hat • Let x be a binomial RV that is the number of successes out of n trials, then: • Also recall the definition of m and s for a binomial distribution:

  14. Linear Transformation • Notice that the distribution of p-hat is just a linear transformation of the binomial distribution. The random variable now takes on the values of:

  15. So, what are the mean and SD of the distribution of p-hat? If we are going to model this distribution with a normal distribution, then we need to know the values of mu and sigma. • Recall the rules for linear tranformation?

  16. Linear Transformation Rules • If X represents the original values, x is the average of the original values, and sx is the standard deviation of the original values, and if the new values are a linear transformation of X, Y=aX+b, then the new mean is given by: and the new standard deviation by:

  17. Let’s Do the Linear Transformation And

  18. Mean and Standard Deviation of a Binomial Distribution

  19. Mean and Standard Deviation of p-hat

  20. Normal Approximation of Binomial • We can use the normal distribution to approximate the binomial when np ≥ 5 and nq ≥ 5. • If X is B(n, p) and np ≥ 5 and nq ≥ 5 then X can be approximated by

  21. Normal Approximation of p-hat (page 519) • If n is sufficiently large (np≥5 and nq≥5), the distribution of p-hat will be approximately normal.

  22. p and q • Keep in mind that p + q = 1 • Also that q = 1 – p

  23. Example 8.3 • Suppose of all voters in a state, 30% are in favor of Proposition A. • If we sample 400 voters what is the approximate probability that less than 25% will be in favor of proposition A? • What is the approximate probability that the proportion of voters will be between 25% and 35%? • Let X = the number of voters out of 400 that are in favor of Proposition A. What is the exact distribution of X and the approximate distribution of X ?

  24. Let’s Do It • LDI 8.5: Page 521

  25. 68-95-99.7 Rule • What percentage of p-hats fall within 2 standard deviations of the mean: p? • About 95% of all random samples should result in a sample proportion p-hat that is within two standard deviations of the population proportion p.

  26. Works Both Ways • If 95% of the p-hats are within 2 standard deviations of p then 95% of the time p should be within an interval that is 2 standard deviations from p-hat. • Standard Error:

  27. Standard Error • In practice we do not have the population standard deviation of the sampling statistic. So, we have to estimate it with the standard error. In this case it is an estimate of the average distance of possible p-hat values from the population proportion p.

  28. Basic Idea • We are quite confident that the true population proportion is in the interval that is plus or minus two standard errors of p-hat

  29. Example 8.4 • Suppose that a random sample of 400 voters yields a p-hat of 28%. Calculate the standard error and interpret it. • Knowing that the true population proportion p is usually within two standard deviations of the observed proportion p-hat, give the interval of values that we can be quite confident contains the true population proportion of voters that favor Proposition A.

  30. What it does not say! • Note again that the 95% here is a probability associated with the method. We say that 95% of the time the interval will work in capturing the true value of p. But once we have an interval, there is no more discussion about the probability of the parameter being contained in the interval.

  31. Let’s Do It • LDI 8.6: page 523 • LDI 8.7: page 525

  32. Homework 16 • Read: pages 531-532, 534-541, 543-544 • LDI: 8.8, 8.9, 8.10, 8.11 • Exercises: 8.17, 8.18, 8.22, 8.25, 8.28, 8.30

  33. Sampling Distribution of the Mean (x-bar) • The sampling distribution of the mean is the distribution of values of the sample mean in all possible random samples of the same size n taken from the same population.

  34. Sampling Distribution of the Mean (x-bar) • The distribution of x-bar will be approximately normal if the sample size is large enough no matter what the original distributions shape. • If the original distribution is normal, then the distribution of x-bar will be exactly normal

  35. Let’s Do It! • Let’s simulate the distribution of x-bar using these programs. We’ll use XBARINT for LDI 8.8 (page 532). • We’ll then try it again using the AGE data as our distribution to sample from. That is done using XBARSIM • LDI 8.9: page 541

  36. Sampling Distribution of the Mean • If the original distribution has mean m and standard deviation s, then for large enough samples the distribution of x-bar will be approximately :

  37. Sampling Distribution of the Mean • If the original distribution is normal with mean m and standard deviation s, then the distribution of x-bar will be exactly :

  38. The Standard Error of the Mean (SEM) • Again, we will rarely know the population standard deviation of the mean ( ) we instead have to estimate it using the sample standard deviation s. We replace  with s to get an estimate standard deviation of x-bar.

  39. Let’s Do It • LDI 8.10: page 543 • LDI 8.11: page 544

More Related