470 likes | 496 Views
Introduction to Analysis of Variance. CJ 526 Statistical Analysis in Criminal Justice. Introduction. An alysis o f Va riance (ANOVA) is an inferential statistical technique Developed by Sir Ronald Fisher, an agricultural geneticist, in the 1920s.
E N D
Introduction to Analysis of Variance CJ 526 Statistical Analysis in Criminal Justice
Introduction • Analysis of Variance (ANOVA) is an inferential statistical technique • Developed by Sir Ronald Fisher, an agricultural geneticist, in the 1920s.
Relationship Between ANOVA and Independent t-Test • Actually, Independent t-Test is really a special case of ANOVA • It is like other parametric inferential procedures such as t test, but there are more than two groups
Purpose of ANOVA • Determine whether differences between the means of the groups are due to chance (sampling error) • Can be used with both experimental and ex post facto designs
Experimental Research Designs Researcher manipulates levels of Independent Variable to determine its effect on a Dependent Variable
Example of an Experimental Research Design Using ANOVA Dr. Sophie studies the effect of different dosages of a new drug on impulsivity among children at-risk of becoming delinquent
Example of an Experimental Research Design Using ANOVA -- continued • Independent Variable • Different dosages of new drug • 0 mg (placebo) • 100 mg • 200 mg • Measure impulsivity in each group, compare groups
Ex Post Facto Research Designs Researcher investigates effects of pre-existing levels of an Independent Variable on a Dependent Variable
Example of an Ex Post Facto Research Design Using ANOVA Dr. Horace wants to determine whether political party affiliation has an effect on attitudes toward the death penalty using a scale assessing attitudes
Example of an Ex Post Facto Research Design Using ANOVA -- continued • Independent Variable • Political Party Affiliation • Democrat • Independent • Republican • Measure attitudes toward the death penalty in each group • No manipulation
Null and Alternative Hypothesis in ANOVA • No differences among the group means • Alternative: at least one group differs from at least one other group
Example of Pairwise Comparisons • Dr. Mildred wants to determine whether birth order has an effect on number of self-reported delinquent acts • Independent Variable • Birth Order • First Born (or only child) • Middle Born (if three or more children) • Last Born
Example of Pairwise Comparisons -- continued • Dependent Variable • Number of self-reported delinquent acts • Possible pairwise comparisons • FB ≠ MB • FB ≠ LB • MB ≠ LB • It is possible for this particular analysis that: • Any one of the pairwise comparisons could be statistically significant • Any two of the pairwise comparisons could be statistically significant • All three of the pairwise comparisons could be statistically significant
Types of ANOVA One-Way ANOVA • One Independent Variable • Groups are independent
Types of ANOVA -- continued Repeated-Measures ANOVA • Groups are dependent • Measure the dependent variable at more than two points in time
ANOVA and Multiple t-Tests • Testwise alpha • If multiple t tests are run, there is error each time. If p < .05, one in twenty will be significant, which could just be error • Better to conduct ANOVA rather than multiple t tests
The Logic of ANOVA Total variability of the DV can be analyzed by dividing it into its component parts
Components of Total Variability • Between-Groups • Measure of the overall differences between treatment conditions (groups, samples)
Within-Groups Variability • Measure of the amount of variability inside of each treatment condition (group, sample) • There will always be variability within a group
Between-Group (BG) Variability • Treatment Effect (TE)
Within-Group (WG) Variability • Individual Differences (ID) • Example: for race, there is more within group variability than between group variability (more genetic variation among white, or Asians, etc, than between the races
The F-Ratio -- continued • If H0 is true, TE = 0, F = 1
The F-Ratio -- continued • If H0 is false, TE > 0, F > 1
Systematic Variability • Due to treatment • Unsystematic variability: uncontrolled or unexplained
ANOVA Vocabulary • Factor, (an IV) • Levels are different values of a factor • k, number of levels of a factor (also the number of samples)
Degrees of Freedom • Between Groups • k – 1 (number of samples-1) • Within groups: n – k (total number of subjects minus number of samples) • Total degrees of freedom: n - 1
F-Distribution • Always positive • See p. 727, p < .05, p. 728, p < .01 • n1 refers to within degrees of freedom, n2 to between degrees of freedom
Example A police psychologist wants to determine whether caffeine has an effect on learning and memory Randomly assigns 120 police officers to one of five groups:
Experimental Groups • 0 mg (placebo) • 50 mg • 100 mg • 150 mg • 200 mg
Example -- continued Records how many “nonsense” words each police officer recalls after studying a 20-word list for 2 minutes (for example, CVC, dif, zup)
Example of ANOVA • Number of Samples: 5 • Nature of Samples: • independent
Example of ANOVA --continued 3. Independent Variable: caffeine • Dependent Variable and its Level of Measurement: number of syllables remembered—interval/ratio
Example of ANOVA -- continued 5. Appropriate Inferential Statistical Technique: one way analysis of variance • Null Hypothesis: no differences in memory (DV) between the groups who are administered differing amount of caffeine (IV)
Example of ANOVA -- continued 7. Decision Rule: • If the p-value of the obtained test statistic is less than .05, reject the null hypothesis
Example of ANOVA -- continued 8. Obtained Test Statistic: F 9. Decision: accept or reject the null hypothesis
Results The results of the One-way ANOVA involving caffeine as the independent variable and number of nonsense words recalled as the dependent variable were statistically significant, F = (4, 115) = 5.14, p < .01. The means and standard deviations for the five groups are contained in Table 1.
Discussion It appears that the ingesting small to moderate amounts of caffeine results in better retention of nonsense syllables, but that ingesting moderate to large amounts of caffeine interferes with the ability to retain nonsense syllables
SPSS Procedure Oneway • Analyze, Compare Means, One-Way ANOVA • Move DV into Depdent List • Move IV into Factor • Options • Descriptives • Homogeniety of Variance
SPSS Procedure One-Way Output • Descriptives • Levels of IV • N • Mean • Standard Deviation • Standard Error of the Mean • 95% Confidence Interval • Lower Bound • Upper Bound
SPSS Procedure One-Way Output -- continued • Test of Homogeneity of Variance • ANOVA Summary Table • Sum of Squares • df • Mean Square • F • Sig