






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







(C) 2007 Nancy Pfenning Elementary Statistics: Looking at the Big Picture
ANOVA: Hypotheses, Table, Test Stat, P -value 1 st^ Step in Practice: Displays, Summaries ANOVA Output Guidelines for Use of ANOVA (C) 2007 Nancy Pfenning Elementary Statistics: Looking at the Big Picture L31. 2
4 Stages of Statistics Data Production (discussed in Lectures 1-4) Displaying and Summarizing (Lectures 5-12) Probability (discussed in Lectures 13-20) Statistical Inference 1 categorical (discussed in Lectures 21-23) 1 quantitative (discussed in Lectures 24-27) cat and quan: paired, 2-sample, several-sample 2 categorical 2 quantitative (C) 2007 Nancy Pfenning Elementary Statistics: Looking at the Big Picture L31. 3
Paired: reduces to 1-sample t Focused on mean of differences Two-Sample: 2-sample t (similar to 1-sample t ) Focused on difference between means Several-Sample: F distribution Focus on difference among means (C) 2007 Nancy Pfenning Elementary Statistics: Looking at the Big Picture L31. 4
and about variables: not related or related Applies to all three CQ, CC, QQ and about parameters: equality or not CQ: pop means equal? (or mean=0? for paired) CC: pop proportions equal? QQ: pop slope equals zero?
(C) 2007 Nancy Pfenning Elementary Statistics: Looking at the Big Picture L31. 5
(C) 2007 Nancy Pfenning Elementary Statistics: Looking at the Big Picture L31. 6
Background : Reader asked medical advice columnist: “Dear Doctor, does everyone with Parkinson’s disease shake?” and doctor replied: All patients with Parkinson’s disease do not shake. Question: Is this what the doctor meant to say? (C) 2007 Nancy Pfenning Elementary Statistics: Looking at the Big Picture L31. 8
Background : Reader asked medical advice columnist: “Dear Doctor, does everyone with Parkinson’s disease shake?” and doctor replied: All patients with Parkinson’s disease do not shake. Response: No. He meant
(C) 2007 Nancy Pfenning Elementary Statistics: Looking at the Big Picture L31. 9
Background : Null hypothesis to test for relationship between race (3 groups) and earnings: Question: Is this the correct alternative?
(C) 2007 Nancy Pfenning Elementary Statistics: Looking at the Big Picture L31. 15
“Source” refers to source of variation DF: use I = no. of groups, N = total sample size DFG = I – 1 DFE = N - I (C) 2007 Nancy Pfenning Elementary Statistics: Looking at the Big Picture L31. 16
“Source” refers to source of variation DF: use I = no. of groups, N = total sample size SSG measures overall variation among groups SSE measures overall variation within groups SSG and SSE tedious to calculate; other table entries straightforward, except for P -value (C) 2007 Nancy Pfenning Elementary Statistics: Looking at the Big Picture L31. 17
“Source” refers to source of variation DF: use I = no. of groups, N = total sample size SSG measures overall variation among groups SSE measures overall variation within groups Mean Sums: Divide Sums by DFs F : Take quotient of MSG and MSE P -value: Found with software or tables (C) 2007 Nancy Pfenning Elementary Statistics: Looking at the Big Picture L31. 18
Background : Compare mileages for 8 sedans, 8 minivans, 12 SUVs; find SSG=42.0, SSE=181.4. Question: What are the following values for table? DFG DFE MSG MSE F
(C) 2007 Nancy Pfenning Elementary Statistics: Looking at the Big Picture L31. 20
Background : Compare mileages for 8 sedans, 8 minivans, 12 SUVs; find SSG=42.0, SSE=181.4. Response: DFG = 3 – 1 = DFE= N – I = (8+8+12) – 3 = MSG= SSG/DFG=42/2= MSE =SSE/DFE=181.4/25= F =MSG/MSE=21/7.256= (C) 2007 Nancy Pfenning Elementary Statistics: Looking at the Big Picture L31. 21
Background : Found these values for ANOVA: DFG =3-1= 2 DFE= N - I =(8+8+12)-3= 25 MSG= SSG/DFG=42/2= 21 MSE =SSE/DFE=181.4/25= 7. F =MSG/MSE=21/7.256= 2. Question: Complete ANOVA table? (C) 2007 Nancy Pfenning Elementary Statistics: Looking at the Big Picture L31. 23
Background : Found these values for ANOVA: DFG =3-1= 2 DFE= N - I =(8+8+12)-3= 25 MSG= SSG/DFG=42/2= 21 MSE =SSE/DFE=181.4/25= 7. F =MSG/MSE=21/7.256= 2. Response: (C) 2007 Nancy Pfenning Elementary Statistics: Looking at the Big Picture L31. 24
(C) 2007 Nancy Pfenning Elementary Statistics: Looking at the Big Picture L31. 31
Background : For all students at a university, are Math SATs related to what year they’re in? Response: Means decrease by about ______ points for each successive year 1 to 4. Standard deviations are around ___, and sample sizes are ___________. (C) 2007 Nancy Pfenning Elementary Statistics: Looking at the Big Picture L31. 32
Background : For all students at a university, are Math SATs related to what year they’re in? Question: What does the output suggest? (C) 2007 Nancy Pfenning Elementary Statistics: Looking at the Big Picture L31. 34
Background : For all students at a university, are Math SATs related to what year they’re in? Response: Test ___________________________ P -value =0.004. Small? _____ Reject? _____ Conclude all 5 population means are equal? _____ Year and Math SAT score related in pop?______ (C) 2007 Nancy Pfenning Elementary Statistics: Looking at the Big Picture L31. 35
Particular F dist determined by DFG, DFE (these determined by sample size, number of groups) P -value in software output lets us know if F is large. P -val=0.004 F =3.87 is large (in given situation)
(C) 2007 Nancy Pfenning Elementary Statistics: Looking at the Big Picture L31. 36
Response: Test P -value is 0.004, very small, so reject. Conclude not all 5 population means are equal Year apparently plays a role in Math SAT score.
(C) 2007 Nancy Pfenning Elementary Statistics: Looking at the Big Picture L31. 37
Need random samples taken independently from several populations. Confounding variables should be separated out. Sample sizes must be large enough to offset non- normality of distributions. Need populations at least 10 times sample sizes. Population variances must be equal. (C) 2007 Nancy Pfenning Elementary Statistics: Looking at the Big Picture L31. 38
If we can assume , standardized difference between sample means follows a pooled t distribution. Some apply Rule of Thumb: use pooled t if larger sample s.d. not more than twice smaller. The F distribution is in a sense “pooled”: our standardized statistic only follows the F distribution if population variances are equal (same as equal s.d.s) (C) 2007 Nancy Pfenning Elementary Statistics: Looking at the Big Picture L31. 39
Background : For all students at a university, are Math SATs related to what year they’re in? Question: Is it safe to assume equal population variances?
(C) 2007 Nancy Pfenning Elementary Statistics: Looking at the Big Picture L31. 46
Background : F test found evidence of relationship between Math SAT and year ( P -value 0.004), but not Verbal SAT and year ( P -value 0.357). Question: Keeping in mind that sample consisted of students in various years taking an introductory statistics class, are there any concerns about bias or confounding variables? (C) 2007 Nancy Pfenning Elementary Statistics: Looking at the Big Picture L31. 47
Background : F test found evidence of relationship between Math SAT and year ( P -value 0.004), but not Verbal SAT and year ( P -value 0.357). Response: Students taking an introductory statistics class are not necessarily representative of the larger population of students in terms of the relationship between year and Math SAT. Students who are “quantitatively challenged” may postpone their statistics requirement; those who are good in Math may tend to take it as freshmen. On the other hand, verbal ability would tend not to be an issue. (C) 2007 Nancy Pfenning Elementary Statistics: Looking at the Big Picture L19. 48
ANOVA for several-sample inference Formulating hypotheses correctly ANOVA table F statistic and P -value 1 st^ step in practice: displays and summaries Side-by-side boxplots Compare means, look at sds and sample sizes ANOVA output Guidelines for use of ANOVA