1 / 32

Economics 105: Statistics

Economics 105: Statistics. Any questions ? Review #1 GH 9 and GH 10 due on Wednesday. Confidence Intervals. Confidence. Intervals. Population Mean. Population Proportion. σ Known. σ Unknown. Confidence Interval for μ ( σ Unknown).

Download Presentation

Economics 105: Statistics

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. Economics 105: Statistics Any questions? Review #1 GH 9 and GH 10 due on Wednesday

  2. Confidence Intervals Confidence Intervals Population Mean Population Proportion σKnown σUnknown

  3. Confidence Interval for μ(σ Unknown) • If the population standard deviation σ is unknown, we can substitute the sample standard deviation, sx • This introduces extra uncertainty, since sx varies from sample to sample • Use t distribution instead of the normal distribution

  4. Student’s t distribution William Sealy Gosset was an Irish statistician who worked for Guinness Brewery in Dublin in the early 1900s. He was interested in the effects of various ingredients and temperature on beer, but only had a few batches of each “formula” to analyze. Thus, he needed a way to correctly treat SMALL SAMPLES in statistical analysis. Not supposed to be publishing, so used the pseudonym, “Student”

  5. Student’s t distribution • The t is a family of distributions • The shape depends on degrees of freedom (d.f.) • Number of observations that are free to vary after sample mean has been calculated d.f. = n - 1

  6. Student’s t distribution Note: t Z as n increases Standard Normal (t with df = ∞) t (df = 13) t-distributions are bell-shaped and symmetric, but have ‘fatter’ tails than the normal t (df = 5) t 0

  7. Confidence Interval for μ(σ Unknown) (continued) • Assumptions • Population standard deviation is unknown • Population is normally distributed • Use Student’s t distribution • Confidence Interval Estimate: (where t is the critical value of the t distribution with n -1 degrees of freedom and an area of α/2 in each tail)

  8. Student’s t Table Let: n = 3 df = n - 1 = 2  = 0.10/2 = 0.05 Upper Tail Area df .25 .10 .05 1 1.000 3.078 6.314 0.817 1.886 2 2.920 /2 = 0.05 3 0.765 1.638 2.353 The body of the table contains t values, not probabilities 0 t 2.920

  9. t distribution values With comparison to the Z value Confidence t t t Z Level (10 d.f.)(20 d.f.)(30 d.f.) ____ 0.80 1.372 1.325 1.310 1.28 0.90 1.812 1.725 1.697 1.645 0.95 2.228 2.086 2.042 1.96 0.99 3.169 2.845 2.750 2.58 Note: t Z as n increases

  10. Confidence Intervals for  A manufacturer produces bags of flour whose weights are normally distributed. A random sample of 25 bags was taken and their mean weight was 19.8 ounces with a sample standard deviation of 1.2 ounces. Find and interpret a 99% confidence interval for the true average weight for all bags of flour produced by the company.

  11. Confidence Intervals Confidence Intervals Population Mean Population Proportion σKnown σUnknown

  12. Confidence Intervals for  • A random sample of 100 people shows that 25 are left-handed. • Form a 95% confidence interval for the true proportion of left-handers

  13. Confidence Intervals for  (continued) • A random sample of 100 people shows that 25 are left-handed. Form a 95% confidence interval for the true proportion of left-handers.

  14. Interpretation • We are 95% confident that the true percentage of left-handers in the population is between 16.51% and 33.49%. • Although the interval from 0.1651 to 0.3349 may or may not contain the true proportion, 95% of intervals formed in repeated samples of size 100 in this manner are expected to contain the true proportion.

  15. Confidence Intervals for  (continued) • A random sample of 1000 people shows that 250 are left-handed. Form a 95% confidence interval for the true proportion of left-handers.

  16. Determining Sample Size Determining Sample Size For the Mean For the Proportion

  17. Sampling Error • The required sample size can be found to reach a desired margin of error (e) with a specified level of confidence (1 - ) • The margin of error is also called sampling error • the amount of imprecision in the estimate of the population parameter • the amount added and subtracted to the point estimate to form the confidence interval

  18. Determining Sample Size Determining Sample Size For the Mean Sampling error (margin of error)

  19. Determining Sample Size (continued) Determining Sample Size For the Mean Now solve for n to get

  20. Determining Sample Size (continued) • To determine the required sample size for the mean, you must know: • The desired level of confidence (1 - ), which determines the critical Z value • The acceptable sampling error, e • The standard deviation, σ

  21. Required Sample Size Example If  = 45, what sample size is needed to estimate the mean within ± 5 with 90% confidence? So the required sample size is n = 220 (Always round up)

  22. If σ is unknown • If unknown, σ can be estimated when using the required sample size formula • Use a value for σ that is expected to be at least as large as the true σ • Select a pilot sample and estimate σ with the sample standard deviation, s

  23. Determining Sample Size (continued) Determining Sample Size For the Proportion Now solve for n to get

  24. Determining Sample Size (continued) • To determine the required sample size for the proportion, you must know: • The desired level of confidence (1 - ), which determines the critical Z value • The acceptable sampling error, e • The true proportion of “successes”, π • π can be estimated with a pilot sample, if necessary (or conservatively use π = 0.5)

  25. Required Sample Size Example How large a sample would be necessary to estimate the true proportion defective in a large population within ±3%, with 95% confidence? (Assume a pilot sample yields p = 0.12)

  26. Required Sample Size Example (continued) Solution: For 95% confidence, use Z = 1.96 e = 0.03 p = 0.12, so use this to estimate π So use n = 451

  27. What is a Hypothesis? • A hypothesis is a claim (assumption) about a population parameter: Example: The mean monthly cell phone bill of this city is μ = $42 Example: The proportion of adults in this city with cell phones is π = 0.68

  28. The Null Hypothesis, H0 • States the claim or assertion to be tested Example: The average number of TV sets in U.S. Homes is equal to three ( ) • Is always about a population parameter, not about a sample statistic

  29. The Null Hypothesis, H0 (continued) • Begin with the assumption that the null hypothesis is true • Similar to the notion of innocent until proven guilty • Refers to the status quo • Always contains “=” , “≤” or “”sign • May or may not be rejected

  30. The Alternative Hypothesis, H1 • Is the opposite of the null hypothesis • e.g., The average number of TV sets in U.S. homes is not equal to 3 ( H1: μ≠ 3 ) • Challenges the status quo • Never contains the “=” , “≤” or “”sign • May or may not be proven • Is generally the hypothesis that the researcher is trying to prove

  31. Hypothesis Testing Process Claim:the population mean age is 50. (Null Hypothesis: Population H0: μ = 50 ) Now select a random sample X = likely if μ = 50? Is 20 Suppose the sample If not likely, REJECT mean age is 20: X = 20 Sample Null Hypothesis

  32. Reason for Rejecting H0 Sampling Distribution of X X 20 μ= 50 IfH0 is true ... then we reject the null hypothesis that μ = 50. If it is unlikely that we would get a sample mean of this value ... ... if in fact this were the population mean…

More Related