Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction to Analysis of Variance CJ 526 Statistical Analysis in Criminal Justice.

Similar presentations


Presentation on theme: "Introduction to Analysis of Variance CJ 526 Statistical Analysis in Criminal Justice."— Presentation transcript:

1 Introduction to Analysis of Variance CJ 526 Statistical Analysis in Criminal Justice

2 Introduction 1. Analysis of Variance (ANOVA) is an inferential statistical technique 2. Developed by Sir Ronald Fisher, an agricultural geneticist, in the 1920s.

3 Relationship Between ANOVA and Independent t-Test 1. Actually, Independent t-Test is really a special case of ANOVA 2. It is like other parametric inferential procedures such as t test, but there are more than two groups

4 Purpose of ANOVA 1. Determine whether differences between the means of the groups are due to chance (sampling error) 2. Can be used with both experimental and ex post facto designs

5 Experimental Research Designs Researcher manipulates levels of Independent Variable to determine its effect on a Dependent Variable

6 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

7 Example of an Experimental Research Design Using ANOVA -- continued 1.Independent Variable 1.Different dosages of new drug 1.0 mg (placebo) 2.100 mg 3.200 mg 4.Measure impulsivity in each group, compare groups

8 Ex Post Facto Research Designs Researcher investigates effects of pre- existing levels of an Independent Variable on a Dependent Variable

9 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

10 Example of an Ex Post Facto Research Design Using ANOVA -- continued 1.Independent Variable 1.Political Party Affiliation 1.Democrat 2.Independent 3.Republican 4.Measure attitudes toward the death penalty in each group 5.No manipulation

11 Null and Alternative Hypothesis in ANOVA 1. No differences among the group means 2. Alternative: at least one group differs from at least one other group

12 Example of Pairwise Comparisons 1.Dr. Mildred wants to determine whether birth order has an effect on number of self-reported delinquent acts 2.Independent Variable 1.Birth Order 1.First Born (or only child) 2.Middle Born (if three or more children) 3.Last Born

13 Example of Pairwise Comparisons -- continued 3.Dependent Variable 1.Number of self-reported delinquent acts 4.Possible pairwise comparisons 1.FB ≠ MB 2.FB ≠ LB 3.MB ≠ LB 5.It is possible for this particular analysis that: 1.Any one of the pairwise comparisons could be statistically significant 2.Any two of the pairwise comparisons could be statistically significant 3.All three of the pairwise comparisons could be statistically significant

14 Types of ANOVA One-Way ANOVA 1.One Independent Variable 2.Groups are independent

15 Types of ANOVA -- continued Repeated-Measures ANOVA 1.Groups are dependent 2.Measure the dependent variable at more than two points in time

16 ANOVA and Multiple t- Tests 1. Testwise alpha 2. 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 3. Better to conduct ANOVA rather than multiple t tests

17 The Logic of ANOVA Total variability of the DV can be analyzed by dividing it into its component parts

18 Components of Total Variability 1. Between-Groups 2. Measure of the overall differences between treatment conditions (groups, samples)

19 Within-Groups Variability 1. Measure of the amount of variability inside of each treatment condition (group, sample) 2. There will always be variability within a group

20 Between-Group (BG) Variability 1. Treatment Effect (TE)

21 Within-Group (WG) Variability 1. Individual Differences (ID) 2. 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

22 The F-Ratio

23 The F-Ratio -- continued

24 1. If H 0 is true, TE = 0, F = 1

25 The F-Ratio -- continued

26 1. If H 0 is false, TE > 0, F > 1

27 The F-Ratio -- continued

28 Systematic Variability 1. Due to treatment 2. Unsystematic variability: uncontrolled or unexplained

29 ANOVA Vocabulary 1. Factor, (an IV) 2. Levels are different values of a factor 3. k, number of levels of a factor (also the number of samples)

30 Degrees of Freedom 1.Between Groups 1.k – 1 (number of samples-1) 2.Within groups: n – k (total number of subjects minus number of samples) 3.Total degrees of freedom: n - 1

31 F-Distribution 1. Always positive 2. See p. 727, p <.05, p. 728, p <.01 3. n1 refers to within degrees of freedom, n2 to between degrees of freedom

32 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:

33 Experimental Groups 1. 0 mg (placebo) 2. 50 mg 3. 100 mg 4. 150 mg 5. 200 mg

34 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)

35 ANOVA Summary Table

36 Example of ANOVA 1.Number of Samples: 5 2.Nature of Samples: 1. independent

37 Example of ANOVA -- continued 3. Independent Variable: caffeine 4.Dependent Variable and its Level of Measurement: number of syllables remembered—interval/ratio

38 Example of ANOVA -- continued 5. Appropriate Inferential Statistical Technique: one way analysis of variance 6. Null Hypothesis: no differences in memory (DV) between the groups who are administered differing amount of caffeine (IV)

39 Example of ANOVA -- continued 7. Decision Rule: 1.If the p-value of the obtained test statistic is less than.05, reject the null hypothesis

40 Example of ANOVA -- continued 8. Obtained Test Statistic: F 9. Decision: accept or reject the null hypothesis

41 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.

42 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

43 SPSS Procedure Oneway Analyze, Compare Means, One-Way ANOVA Move DV into Depdent List Move IV into Factor Options Descriptives Homogeniety of Variance

44 Sample Printout: ANOVA

45 Sample Printout: Post Hoc Tests

46 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

47 SPSS Procedure One- Way Output -- continued Test of Homogeneity of Variance ANOVA Summary Table Sum of Squares df Mean Square F Sig


Download ppt "Introduction to Analysis of Variance CJ 526 Statistical Analysis in Criminal Justice."

Similar presentations


Ads by Google