ANOVA Conceptual Review Conceptual Formula, Sig Testing Calculating in SPSS.

Slides:



Advertisements
Similar presentations
ANALYSIS OF VARIANCE (ONE WAY)
Advertisements

Kruskal Wallis and the Friedman Test.
Independent t -test Features: One Independent Variable Two Groups, or Levels of the Independent Variable Independent Samples (Between-Groups): the two.
ANOVA: Analysis of Variance
R EVIEW OF T- TESTS And then…..an “F” for everyone.
Conceptual Review Conceptual Formula, Sig Testing Calculating in SPSS
Introduction to Analysis of Variance CJ 526 Statistical Analysis in Criminal Justice.
Introduction to Analysis of Variance CJ 526 Statistical Analysis in Criminal Justice.
Intro to Statistics for the Behavioral Sciences PSYC 1900
Chi-square Test of Independence
Lecture 9: One Way ANOVA Between Subjects
Two Groups Too Many? Try Analysis of Variance (ANOVA)
Analysis of Variance & Multivariate Analysis of Variance
Intro to Statistics for the Behavioral Sciences PSYC 1900
Summary of Quantitative Analysis Neuman and Robson Ch. 11
Repeated Measures ANOVA Used when the research design contains one factor on which participants are measured more than twice (dependent, or within- groups.
The Two Sample t Review significance testing Review t distribution
Two-Way Analysis of Variance STAT E-150 Statistical Methods.
Leedy and Ormrod Ch. 11 Gray Ch. 14
Chapter 12: Analysis of Variance
Statistics for the Social Sciences Psychology 340 Fall 2013 Thursday, November 21 Review for Exam #4.
ANOVA Chapter 12.
PS 225 Lecture 15 Analysis of Variance ANOVA Tables.
Inferential Statistics: SPSS
Week 9 Chapter 9 - Hypothesis Testing II: The Two-Sample Case.
ANOVA Analysis of Variance.  Basics of parametric statistics  ANOVA – Analysis of Variance  T-Test and ANOVA in SPSS  Lunch  T-test in SPSS  ANOVA.
Stats Lunch: Day 7 One-Way ANOVA. Basic Steps of Calculating an ANOVA M = 3 M = 6 M = 10 Remember, there are 2 ways to estimate pop. variance in ANOVA:
Week 10 Chapter 10 - Hypothesis Testing III : The Analysis of Variance
One-Way Analysis of Variance Comparing means of more than 2 independent samples 1.
Which Test Do I Use? Statistics for Two Group Experiments The Chi Square Test The t Test Analyzing Multiple Groups and Factorial Experiments Analysis of.
Chapter 11 HYPOTHESIS TESTING USING THE ONE-WAY ANALYSIS OF VARIANCE.
Comparing Several Means: One-way ANOVA Lesson 15.
PSY 307 – Statistics for the Behavioral Sciences Chapter 16 – One-Factor Analysis of Variance (ANOVA)
Chapter 10 Analysis of Variance.
One-way Analysis of Variance 1-Factor ANOVA. Previously… We learned how to determine the probability that one sample belongs to a certain population.
Between-Groups ANOVA Chapter 12. >When to use an F distribution Working with more than two samples >ANOVA Used with two or more nominal independent variables.
Testing Hypotheses about Differences among Several Means.
Chapter 14 – 1 Chapter 14: Analysis of Variance Understanding Analysis of Variance The Structure of Hypothesis Testing with ANOVA Decomposition of SST.
Inferential Statistics
Chapter 10: Analyzing Experimental Data Inferential statistics are used to determine whether the independent variable had an effect on the dependent variance.
Analysis of Variance 1 Dr. Mohammed Alahmed Ph.D. in BioStatistics (011)
ANOVA: Analysis of Variance.
PPA 415 – Research Methods in Public Administration Lecture 7 – Analysis of Variance.
Chapter 14 – 1 Chapter 14: Analysis of Variance Understanding Analysis of Variance The Structure of Hypothesis Testing with ANOVA Decomposition of SST.
Chapter 13 - ANOVA. ANOVA Be able to explain in general terms and using an example what a one-way ANOVA is (370). Know the purpose of the one-way ANOVA.
1 ANALYSIS OF VARIANCE (ANOVA) Heibatollah Baghi, and Mastee Badii.
R EVIEW OF T ERMINOLOGY Statistics Parameters Critical Region “Obtained” test statistic “Critical” test statistic Alpha/Confidence Level.
Chapter Seventeen. Figure 17.1 Relationship of Hypothesis Testing Related to Differences to the Previous Chapter and the Marketing Research Process Focus.
ONE-WAY BETWEEN-GROUPS ANOVA Psyc 301-SPSS Spring 2014.
Hypothesis test flow chart frequency data Measurement scale number of variables 1 basic χ 2 test (19.5) Table I χ 2 test for independence (19.9) Table.
One-Way Analysis of Variance Recapitulation Recapitulation 1. Comparing differences among three or more subsamples requires a different statistical test.
Statistics for Political Science Levin and Fox Chapter Seven
ANOVA By Heather Nydam-Fragapane ANOVA Anova is an acronym for  Analysis of Variance.
Copyright c 2001 The McGraw-Hill Companies, Inc.1 Chapter 11 Testing for Differences Differences betweens groups or categories of the independent variable.
Research Methods and Data Analysis in Psychology Spring 2015 Kyle Stephenson.
Introduction to ANOVA Research Designs for ANOVAs Type I Error and Multiple Hypothesis Tests The Logic of ANOVA ANOVA vocabulary, notation, and formulas.
Analysis of Variance STAT E-150 Statistical Methods.
EDUC 200C Section 9 ANOVA November 30, Goals One-way ANOVA Least Significant Difference (LSD) Practice Problem Questions?
© 2006 by The McGraw-Hill Companies, Inc. All rights reserved. 1 Chapter 11 Testing for Differences Differences betweens groups or categories of the independent.
Formula for Linear Regression y = bx + a Y variable plotted on vertical axis. X variable plotted on horizontal axis. Slope or the change in y for every.
HYPOTHESIS TESTING FOR DIFFERENCES BETWEEN MEANS AND BETWEEN PROPORTIONS.
MM570Sec02 Zrotowski Unit 8, Unit 8, Chapter 9 Chapter 9 1 ANOVA 1 ANOVA.
©2013, The McGraw-Hill Companies, Inc. All Rights Reserved Chapter 4 Investigating the Difference in Scores.
Between-Groups ANOVA Chapter 12. Quick Test Reminder >One person = Z score >One sample with population standard deviation = Z test >One sample no population.
CHAPTER 10: ANALYSIS OF VARIANCE(ANOVA) Leon-Guerrero and Frankfort-Nachmias, Essentials of Statistics for a Diverse Society.
The 2 nd to last topic this year!!.  ANOVA Testing is similar to a “two sample t- test except” that it compares more than two samples to one another.
And then…..an “F” for everyone!
Chapter 13 Group Differences
One way ANOVA One way Analysis of Variance (ANOVA) is used to test the significance difference of mean of one dependent variable across more than two.
Review Calculating in SPSS
Presentation transcript:

ANOVA Conceptual Review Conceptual Formula, Sig Testing Calculating in SPSS

ANOVA as extension of t-test T-test = difference between two means – Univariate/1 sample Population mean compared to sample mean – Bivariate/2 sample Compare sample means across two categories (males vs. female, old vs. young, white vs. nonwhite). ANOVA Compare sample means across three or more categories Can no longer calculate a simple “difference between means”

The Logic of ANOVA Instead of difference between means, analyze “variance” – Variance = sum of squared deviations from mean appropriate df – Between group variance Measure of how group means vary around “grand mean.” Larger mean differences produce larger values – Within group variance Measure of how cases vary around their group mean. Considered “error” or “unexplained” variance, because it cannot be accounted for by the IV.

The F Ratio F = Mean square between = Explained variance Mean square within Unexplained variance Mean squared = variance = Sum of Squares df – df for between = (number of groups – 1) Or, K-1 – df for within = (N – number of groups) Or, N - K

Use ANOVA when… IV = nominal/ordinal with more than 2 categories DV = interval ratio Example – Instructor Iggy believes that the custody level of a prison is related to the number of prison infractions that an inmate accumulates in a year NULL? µ min = µ med = µ max NOTE: NO DIRECTIONALITY HERE!!

Random sample of three prisons N = 15 (5 for each prison). minimummedium maximum X min (x min - x min ) 2 X med (x med - x med ) 2 X max (x max - x max ) ________________________________________________________________  _________________________________________________________________ x min =2.0 x med =5.6 x max =8.2 Grand mean = 5.267

Conceptual Plot of the 3 groups BLUE: Minimum security (mean = 2) GREEN: Medium security (mean = 5.2) RED: Maximum security (mean = 6.8) GRAND MEAN = 5.27 Based on all cases from all groups

Types of Variation (SS) Within group variation (error variation) – Add the variation from within each group together SS minimim + SS meduim + SS maximum = 14 Between group variation (explained variation) ( grand mean - x min ) 2 * N min + (grand mean - x med ) 2 * N med + (grand mean - x max ) 2 * N max = [(5.27-2) 2 5] + [( ) 2 5] + [( ) 2 5] = 97.16

Variation  Variance Variation = sum of squared deviations (SS) Variance = mean sum of squares (mean square) – Divide SS by appropriate degrees of freedom SS within/N-K = within mean squared SS between/K-1 = between mean squared – K means the number of groups – Prison Example Within variance = 14/(15-3) = 1.17 Between variance = 97.16/(3-1) = 48.58

Variance  F ratio F = Between variance / Within Variance Prison Example F obtained = 48.58/1.17 = 41.5 With an alpha of.05, F critical (2, 12) = 3.88 Reject the NULL hypothesis that the mean number of infractions across the different types of prison are equal (That prison type and number of infractions are unrelated)

Like “t,” the sampling distribution for “F” depends on sample size (or df)

SPSS Output (Descriptives) Number of infractions N MeanStd. DeviationStd. Error 95% Confidence Interval for Mean MinimumMaximum Lower BoundUpper Bound minimum security medium security maximum security Total

SPSS Output (Means plot)

SPSS OUTPUT (ANOVA) ANOVA Number of infractions Sum of Squaresdf Mean SquareFSig. Between Groups Within Groups Total From SPSS, p or “sig” =

The F test is Exploratory Null rejected  means are not equal in population – Next step is to conduct a series of t-test like comparisons Compares each pair of means to find differences. What is the story in the data? These are called “Post-hoc” tests – USE LSD If you FAIL to reject the null for the F-test, STOP THERE

PRISON EXAMPLE (BECAUSE OUR F WAS SIGNIFICANT AND WE REJECTED NULL) Number of infractions LSD (I) Type of prison(J) Type of prison Mean Difference (I-J) Std. ErrorSig. 95% Confidence Interval Lower Bound Upper Bound 1.00 minimum security2.00 medium security * (1st) maximum security * (2nd) medium security1.00 minimum security * maximum security * (3rd) maximum security1.00 minimum security * medium security * *. The mean difference is significant at the 0.05 level.

ANOVA in SPSS – STEPS TO GET THE CORRECT OUTPUT… ANALYZE  COMPARE MEANS  ONE-WAY ANOVA INSERT… – INDEPENDENT VARIABLE (Nominal, >3 Categories) IN BOX LABELED “FACTOR:” – DEPENDENT VARIABLE (Interval/Ratio) IN THE BOX LABELED “DEPENDENT LIST:” CLICK ON “POST HOC” AND CHOOSE “LSD” CLICK ON “OPTIONS” AND CHOOSE “DESCRIPTIVE” AND MEANS PLOT

What you need to know for homework and exams Difference between group variance and within group variance Degrees of freedom  go from sum of squares to variance Calculate F-ratio given either sum of squares or variance How to calculate F in SPSS and how to interpret SPSS output

SPSS Group Exercise Test whether fundamentalism (“fund”) is related to any of the following using the GSS data and an alpha of Family size (“sibs”). 2. Number of science credits taken (“colscinm”) 3. Number of days were activity was limited due to health (“hlthdays”) Write out null hypothesis Write out the F-value, and the interpretation of “p” Where appropriate, also interpret the LSD tests (which means are different from which)