1 / 37

Chapter 11: Inference About a Mean

Chapter 11: Inference About a Mean. In Chapter 11:. 11.1 Estimated Standard Error of the Mean 11.2 Student’s t Distribution 11.3 One-Sample t Test 11.4 Confidence Interval for μ 11.5 Paired Samples 11.6 Conditions for Inference 11.7 Sample Size and Power. σ not known.

agalia
Download Presentation

Chapter 11: Inference About a Mean

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 11: Inference About a Mean

  2. In Chapter 11: 11.1 Estimated Standard Error of the Mean 11.2 Student’s t Distribution 11.3 One-Sample t Test 11.4 Confidence Interval for μ 11.5 Paired Samples 11.6 Conditions for Inference 11.7 Sample Size and Power

  3. σ not known • Prior chapter: σ was known before collecting data z procedures used to help infer µ • When σ NOT known, calculate sample standard deviations sand use it to calculate this standard error:

  4. Additional Uncertainty The Normal distribution doesn’t fit well • Using s instead of σ adds uncertainty to inferences  can NOT use z procedures • Instead, rely on Student’s t procedures William Sealy Gosset (1876–1937)

  5. Student’s t distributions • Familyof probability distributions • Family members identified by degrees of freedom (df) • Similar to “Z”, but with broader tails • As df increases → tails get skinnier → t become like z A t distribution with infinite degrees of freedom is a Standard Normal Z distribution

  6. Table C (t table) Rows  df Columns  probabilities Entries  t values Notation: tcum_prob,df = t value Example: t.975, 9 = 2.262

  7. Objective: test a claim about population mean µ Conditions : Simple Random Sample Normal population or “large sample” One-Sample t Test

  8. Hypothesis Statements • Null hypothesisH0: µ = µ0 where µ0 represents the pop. mean expected by the null hypothesis • Alternative hypotheses Ha: µ < µ0(one-sided, left) Ha: µ > µ0 (one-sided, right) Ha: µ ≠ µ0 (two-sided)

  9. Example • Do SIDS babies have lower average birth weights than a general population mean µ of 3300 gms? • H0: µ = 3300 • Ha: µ < 3300 (one-sided) or Ha: µ ≠ 3300 (two-sided)

  10. One-Sample t Test Statistic where This t statistic has n – 1 degrees of freedom

  11. Example (Data) SRS n = 10 birth weights (grams) of SIDS cases

  12. Example Testing H0: µ = 3300

  13. |tstat| =1.80 P-value via Table C • Bracket |tstat| between t critical values • For |tstat| = 1.80 with 9 df Thus  One-tailed: 0.05 < P < 0.10 Two-tailed: 0.10 < P < 0.20

  14. For a more precise P-value use a computer utility Here’s output from the free utility StaTable Graphically:

  15. Interpretation • TestingH0: µ = 3300 gms • Two-tailed P > .10 • Conclude: weak evidence against H0 • The sample mean (2890.5) is NOT significantly different from 3300

  16. (1− α)100% CI for µ where

  17. Same Data Interpretation: Population mean µ is between 2375 and 3406 grams with 95% confidence

  18. §11.5 Paired Samples • Two samples • Each data point in one sample uniquely matched to a data point in the other sample • Examples of paired samples • “Pre-test/post-test” • Cross-over trials • Pair-matching

  19. Example • Does oat bran reduce LDL cholesterol? • Start half of subjects on CORNFLK diet • Start other half on OATBRAN • Two weeks  LDL cholesterol • Washout period • Cross-over to other diet • Two weeks  LDL cholesterol

  20. Oat bran dataLDL cholesterol mmol Subject CORNFLK OATBRAN ---- ------- ------- 1 4.61 3.84 2 6.42 5.57 3 5.40 5.85 4 4.54 4.80 5 3.98 3.68 6 3.82 2.96 7 5.01 4.41 8 4.34 3.72 9 3.80 3.49 10 4.56 3.84 11 5.35 5.26 12 3.89 3.73

  21. Within-pair difference “DELTA” • Let DELTA = CORNFLK - OATBRAN • First three observations in OATBRAN data: ID CORNFLK OATBRAN DELTA ---- ------- ------- ----- 1 4.61 3.84 0.77 2 6.42 5.57 0.85 3 5.40 5.85 -0.45 etc. All procedures are now directed toward difference variable DELTA

  22. Exploratory and descriptive stats DELTA: 0.77, 0.85, −0.45, −0.26, 0.30, 0.86, 0.60, 0.62, 0.31, 0.72, 0.09, 0.16 Stemplot |-0f|4|-0*|2 |+0*|01|+0t|33 |+0f| |+0s|6677 |+0.|88×1 LDL (mmol) subscript d denotes “difference”

  23. 95% CI for µd  95% confident population mean difference µd is between 0.105 and 0.656 mmol/L

  24. Claim: oat bran diet is associated with a decline (one-sided) or change (two-sided) in LDL cholesterol. Test H0: µd = µ0 where µ0 = 0 Ha: µd > µ0 (one-sided) Ha: µ ≠ µ0 (two-sided) Hypothesis Test

  25. Paired t statistic

  26. |tstat| =3.043 P-value via Table C Thus  One-tailed: .005 < P < .01 Two-tailed: .01 < P < .02

  27. P-value via Computer

  28. SPSS Output: “Oat Bran”

  29. Interpretation My P value is smaller than yours! • Testing H0: µ = 0 • Two-tailed P = 0.011 •  Good reason to doubt H0 • (Optional) The difference is “significant” at α = .05 but not at α = .01

  30. The Normality Condition • t Procedures require Normal population or large samples • How do we assess this condition? • Guidelines. Use t procedures when: • Population Normal • population symmetrical and n ≥ 10 • population skewed and n≥ ~45(depends on severity of skew)

  31. Can a t procedures be used? Skewed small sample  avoid t procedures

  32. Can a t procedures be used? Mild skew in moderate sample t OK

  33. Can a t procedures be used? Skewed moderate sample  avoid t

  34. Sample Size and Power Methods: (1) n required to achieve m when estimating µ (2) n required to test H0 with 1−β power (3) Power of a given test of H0

  35. Power • α≡ alpha (two-sided) • Δ≡ “difference worth detecting” = µa – µ0 • n ≡ sample size • σ≡ standard deviation • Φ(z) ≡ cumulative probability of Standard Normal z score with .

  36. Power: SIDS Example • Let α = .05 and z1-.05/2 = 1.96 • Test: H0: μ = 3300 vs. Ha: μ = 3000. Thus:Δ≡ µ1 – µ0 = 3300 – 3000 = 300 • n = 10 and σ≡ 720 (see prior SIDS example) Use Table B to look up cum prob  Φ(-0.64) = .2611

  37. Power: Illustrative Example

More Related