Download presentation
Presentation is loading. Please wait.
1
AP Statistics FINAL EXAM ANALYSIS OF VARIANCE
2
Objective: To be able to carry out a One-Way ANOVA test.
The Analysis of Variance F-test is used when comparing more than 2 population means. If we are only comparing 2 means then we use the two-sample t-test. Suppose: π» 0 : π 1 = π 2 = π 3 π» π :ππ‘ ππππ π‘ πππ π π ππ πππππππππ‘ We could use the t-procedures 3 different times, but that yields multiple p-values which could lead to a type I error.
3
In addition, using the t-procedures multiple times does not take into account the variability across all means at the same time. We canβt make multiple comparisons among means by looking at two confidence intervals at a time. Analysis of Variance (ANOVA) Test used to compare multiple means. I. Assumptions: We have I independent SRSβs, one from each of I populations. Each population is normally distributed All populations have the same π.
4
Unlike the t-test, the F-test is extremely sensitive to non-normal distributions.
Even as sample size increases, the F-test is still effected by a lack of normality. Skewed distributions tend to have larger standard deviations than normal. F-Distributions: Right skewed. F is always greater than 0. Area under the curve is 1. Peak near where F = 1. Always work in the upper tail and double the upper tail area for two-sided tests.
5
Identified by the degrees of freedom of the numerator and degrees of freedom of the denominator.
Canβt freely change the ππ π and ππ π· . Meaning πΉ 2,4 β πΉ 4,2 F-Test Test used to determine whether or not 2 distributions have the same spread. Assumptions: π 1 2 and π 2 2 are sample variances from 2 independent SRSβs of sizes π 1 and π 2 drawn from normal populations. Hypotheses: π» π : π 1 = π 2 π» π : π 1 β π 2
6
Rejection Region: I will reject Ho if my p-value < πΌ.
Or If F > πΉ (πΌ, π 1 β1, π 2 β1) Test Statistic and p-value: F= ππππππ π 2 π ππππππ π βπ(πΉ> πΉ π‘π ) Conclusion: Give the results with 2 sentences.
7
Many times will be testing to see if more than 2 standard deviations are the same. To do that we use Hartleyβs F-Max test. Check F = ππππππ π‘ π π ππππππ π‘ π <2 Basic Idea: This test is used to compare how far apart the sample means are with how much variation there is within the samples. For example if the sample means are relatively close to one another but the is very little variation among the samples, we may have significant differences. On the other hand if the sample means are relatively far apart and there is a lot of variability among the samples the results might not be significant.
8
II. Hypotheses: π» π : π 1 = π 2 = π 3 =β¦= π π π» π :ππ‘ ππππ π‘ πππ π π ππ πππππππππ‘ Define the parameter! III. Rejection Region: Reject Ho if the p-value < πΌ. Reject Ho if πΉ> πΉ (πΌ, ππ π , ππ π·) IV. Test Statistic and p-value: F = πππΊ πππΈ MSG = Mean squares for the groups MSE = Mean squares for the errors
9
π·( π π
π π΅ , π
π π« >π) ANOVA TABLE: Where I = total number of population N = total number of observations βGroupβ measures variability between group means. SSG = π π ( π π β π ) π where π π is the mean of the π ππ group and π is the mean of all observations. Source df Sum of squares Mean squares F P-value Group I β 1 SSG MSG=SSG / I - 1 MSG / MSE Error N β I SSE MSE = SSE / N- I Total N β 1 SST
10
βErrorβ measures the variation within the groups
βErrorβ measures the variation within the groups. SSE = π π ( π ππ β π π ) π or ( π π βπ)β π π π Where π ππ is the π ππ observation in the π ππ group. βTotalβ measures the total variability across all observations SST = SSG + SSE SST = ( π ππ β π ) π V. Conclusion: Two sentences to give a general conclusion. Using software, a more detailed comparison can be done using Tukeyβs pairwise comparisons.
11
Example 1: Black Flag insect company is working on creating the most effective fly paper that is can. To explore the idea that flies are attracted to certain colors, they have run an experiment where 4 different colors of flypaper will be used over a 6 hour period. Six different samples from each color will be placed in randomly selected areas of a room. After the 6 hours have passed, the number of flies stuck to the flypaper will be recorded. Below are the results: Is there a difference in the average number of flies that are trapped on the different colors of fly paper? Color Insects Blue 16 11 20 21 14 7 Green 37 32 29 White 12 17 13 Yellow 45 59 48 46 38 47
12
ANOVA TEST:
13
ANOVA TEST - MINITAB
14
Example 2: Workers for a local company were asked to rate various elements of safety in the workplace. A composite score called the Safety Climate Index was calculated. Its values are between 0 and 100. the workers were classified according to their job category as unskilled, skilled and supervisor. Is there evidence of a difference in the mean responses to the SCI among the three groups of employees? Job n Mean SD Unskilled 448 70.42 18.27 Skilled 91 71.21 18.83 Supervisors 51 80.51 14.58
15
ANOVA TEST
16
ANOVA TEST - MINITAB
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.