Analysis of Covariance David Markham

Slides:



Advertisements
Similar presentations
Week 2 – PART III POST-HOC TESTS. POST HOC TESTS When we get a significant F test result in an ANOVA test for a main effect of a factor with more than.
Advertisements

Repeated Measures/Mixed-Model ANOVA:
MANOVA Mechanics. MANOVA is a multivariate generalization of ANOVA, so there are analogous parts to the simpler ANOVA equations First lets revisit Anova.
MANOVA: Multivariate Analysis of Variance
Hypothesis Testing Steps in Hypothesis Testing:
DOCTORAL SEMINAR, SPRING SEMESTER 2007 Experimental Design & Analysis Analysis of Covariance; Within- Subject Designs March 13, 2007.
Copyright © 2009 Pearson Education, Inc. Chapter 29 Multiple Regression.
© 2008 McGraw-Hill Higher Education The Statistical Imagination Chapter 12: Analysis of Variance: Differences among Means of Three or More Groups.
LINEAR REGRESSION: Evaluating Regression Models. Overview Standard Error of the Estimate Goodness of Fit Coefficient of Determination Regression Coefficients.
One-Way Between Subjects ANOVA. Overview Purpose How is the Variance Analyzed? Assumptions Effect Size.
ANOVA notes NR 245 Austin Troy
Analysis of Covariance Goals: 1)Reduce error variance. 2)Remove sources of bias from experiment. 3)Obtain adjusted estimates of population means.
ANCOVA Psy 420 Andrew Ainsworth. What is ANCOVA?
One-Way Analysis of Covariance One-Way ANCOVA. ANCOVA Allows you to compare mean differences in 1 or more groups with 2+ levels (just like a regular ANOVA),
Lecture 9: One Way ANOVA Between Subjects
ANOVA  Used to test difference of means between 3 or more groups. Assumptions: Independent samples Normal distribution Equal Variance.
Analysis of Variance & Multivariate Analysis of Variance
Analysis of Covariance Goals: 1)Reduce error variance. 2)Remove sources of bias from experiment. 3)Obtain adjusted estimates of population means.
Lecture 5 Correlation and Regression
Leedy and Ormrod Ch. 11 Gray Ch. 14
Example of Simple and Multiple Regression
Repeated ANOVA. Outline When to use a repeated ANOVA How variability is partitioned Interpretation of the F-ratio How to compute & interpret one-way ANOVA.
PS 225 Lecture 15 Analysis of Variance ANOVA Tables.
ANCOVA Lecture 9 Andrew Ainsworth. What is ANCOVA?
Regression Analysis Regression analysis is a statistical technique that is very useful for exploring the relationships between two or more variables (one.
Chapter 13: Inference in Regression
 Combines linear regression and ANOVA  Can be used to compare g treatments, after controlling for quantitative factor believed to be related to response.
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:
Two Way ANOVA ©2005 Dr. B. C. Paul. ANOVA Application ANOVA allows us to review data and determine whether a particular effect is changing our results.
Shavelson Chapter 14 S14-1. Know the purpose of a two-way factorial design and what type of information it will supply (e.g. main effects and interaction.
PSY 307 – Statistics for the Behavioral Sciences Chapter 16 – One-Factor Analysis of Variance (ANOVA)
ANOVA (Analysis of Variance) by Aziza Munir
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.
Statistics 101: The 95% Rule David Newman, PhD. Levels of Data Nominal Ordinal Interval Ratio Binary--- The Magic Variable Categorical Continuous.
Chapter 14 – 1 Chapter 14: Analysis of Variance Understanding Analysis of Variance The Structure of Hypothesis Testing with ANOVA Decomposition of SST.
Go to Table of Content Single Variable Regression Farrokh Alemi, Ph.D. Kashif Haqqi M.D.
MANOVA Mechanics. MANOVA is a multivariate generalization of ANOVA, so there are analogous parts to the simpler ANOVA equations First lets revisit Anova.
1 Review of ANOVA & Inferences About The Pearson Correlation Coefficient Heibatollah Baghi, and Mastee Badii.
6/2/2016Slide 1 To extend the comparison of population means beyond the two groups tested by the independent samples t-test, we use a one-way analysis.
Analysis of Covariance adjusting for potential confounds.
Educational Research Chapter 13 Inferential Statistics Gay, Mills, and Airasian 10 th Edition.
1 Inferences About The Pearson Correlation Coefficient.
Analysis of Variance (ANOVA) Brian Healy, PhD BIO203.
Chapter 14 – 1 Chapter 14: Analysis of Variance Understanding Analysis of Variance The Structure of Hypothesis Testing with ANOVA Decomposition of SST.
Statistics for Marketing & Consumer Research Copyright © Mario Mazzocchi 1 Analysis of variance (ANOVA) (from Chapter 7)
Adjusted from slides attributed to Andrew Ainsworth
Chapter 14 Repeated Measures and Two Factor Analysis of Variance
Analysis of Variance. What is Variance? Think….think…
Analysis of Covariance (ANCOVA)
ANCOVA. What is Analysis of Covariance? When you think of Ancova, you should think of sequential regression, because really that’s all it is Covariate(s)
Chapter 13 Repeated-Measures and Two-Factor Analysis of Variance
Multivariate Analysis: Analysis of Variance
Review Memory scores for subjects given three different study sequences: Find the sum of squares between groups, SS treatment A.24 B.25 C.42 D.84 ABC
CHAPTER 10 ANOVA - One way ANOVa.
1 1 Slide The Simple Linear Regression Model n Simple Linear Regression Model y =  0 +  1 x +  n Simple Linear Regression Equation E( y ) =  0 + 
Analysis of Variance 11/6. Comparing Several Groups Do the group means differ? Naive approach – Independent-samples t-tests of all pairs – Each test doesn't.
MANOVA Lecture 12 Nuance stuff Psy 524 Andrew Ainsworth.
Education 793 Class Notes ANCOVA Presentation 11.
Multivariate vs Univariate ANOVA: Assumptions. Outline of Today’s Discussion 1.Within Subject ANOVAs in SPSS 2.Within Subject ANOVAs: Sphericity Post.
Don't Sweat the Simple Stuff (But it's not all Simple Stuff)
Week 2 – PART III POST-HOC TESTS.
Comparing several means: ANOVA (GLM 1)
Repeated Measures ANOVA
Chapter 14 Repeated Measures
Kin 304 Inferential Statistics
Chapter 12 Inference on the Least-squares Regression Line; ANOVA
One way ANALYSIS OF VARIANCE (ANOVA)
Chapter 13 Group Differences
Chapter 9: Differences among Groups
Multivariate Analysis: Analysis of Variance
Presentation transcript:

Analysis of Covariance David Markham

Analysis of Covariance  Analysis of Covariance (ANCOVA) is a statistical test related to ANOVA  It tests whether there is a significant difference between groups after controlling for variance explained by a covariate  A covariate is a continuous variable that correlates with the dependent variable

So, what does all that mean?  This means that you can, in effect, “partial out” a continuous variable and run an ANOVA on the results  This is one way that you can run a statistical test with both categorical and continuous independent variables

Hypotheses for ANCOVA  H 0 and H 1 need to be stated slightly differently for an ANCOVA than a regular ANOVA  H 0 : the group means are equal after controlling for the covariate  H 1 : the group means are not equal after controlling for the covariate

Assumptions for ANCOVA ANOVA assumptions:  Variance is normally distributed  Variance is equal between groups  All measurements are independent Also, for ANCOVA:  Relationship between DV and covariate is linear  The relationship between the DV and covariate is the same for all groups

How does ANCOVA work?  ANCOVA works by adjusting the total SS, group SS, and error SS of the independent variable to remove the influence of the covariate  However, the sums of squares must also be calculated for the covariate. For this reason, SS dv will be used for SS scores for the dependent variable, and SS cv will be used for the covariate

Sum of Squares

Sum of Products  To control for the covariate, the sum of products (SP) for the DV and covariate must also be used  This is the sum of the products of the residuals for both the DV and the covariate  In the following slides, x is the covariate, and y is the DV. i is the individual subject, and j is the group.

Total Sum of Products  This is just the sum of the multiplied residuals for all data points.

Group Sum of Products  This is the sum of the products of the group means minus the grand means times the group size.

Error Sum of Products  This is the sum of the products of the DV and residual minus the group means of the DV and residual  This just happens to be the same as the difference between the other two sum of products

Adjusting the Sum of Squares  Using the SS’s for the covariate and the DV, and the SP’s, we can adjust the SS’s for the DV

Sum of Squares

Now what?  Using the adjusted SS’s, we can now run an ANOVA to see if there is a difference between groups.  This is the exact same as a regular ANOVA, but using the adjusted SS’s instead of the original ones.  Degrees of freedom are not affected

A few more things  We can also determine whether the covariate is significant by getting a F score

A few more things  The group means can also be adjusted to eliminate the effect of the covariate

Post-hocs for ANCOVA  Post-hoc tests can be done using the adjusted means for ANCOVA, including LSD and Bonferroni

Example of ANCOVA  Imagine we gave subjects a self-esteem test, with scores of 1 to 10  Then we primed subjects with either positive or negative emotions.  Then we asked them to spend a few minutes writing about themselves.  Our dependent measure is the number of positive emotion words they used (e.g. happy, good)

 The null hypothesis is that the priming doesn’t make a difference after controlling for self-esteem  The alternative hypothesis is that the priming does make a difference after controlling for self-esteem Example of ANCOVA, cont.

Data Subject # PrimingSelf-Esteem Positive Words 1Positive17 2Positive510 3Positive711 4Negative87 5Negative34 6Negative65

ANCOVA in SPSS  To do ANCOVA in SPSS, all you need to do is add your covariate to the “covariate” box in the “univariate” menu  Everything else is the exact same as it is for ANOVA