Lecture 3: ANOVA & ANCOVA (ARMS, Utrecht University)

ANOVA: comparing groups on a continuous variable. The analysis separates between group variation and within group variation.

But what if there are more factors that influence the outcome y? You need to control for them. You use an ANCOVA to do this. Example: you want to research whether there is a difference in cognitive abilities between babies of teen moms and adult moms. But, not only age, but also IQ influences the cognitive abilities. You need to control for IQ when conducting this experiment.

In an ANCOVA, you always need a categorical predictor (factor): we want to compare groups so there must be a variable creating groups.

The covariate is always continuous.

Homogeneity is an assumption for ANCOVA. Checking homogeneity:

1. When you draw a line through the clouds of the scatter plot, the lines of the two groups must be parallel. If not, there is no homogeneity of regression slopes.

2. You can also check homogeneity by looking at the significance of the interaction effect. If the effect is significant: there is no homogeneity. If the effect is not significant the assumption is met.

Do both 1&2!

There is another assumption (but researchers don’t all agree on how to interpret this) that states that there should be independence of the covariate and the factor:

  • ANCOVA can be used for groups that are randomized. Then any differences between the groups are chance differences, because they are random. So we all agree that if you see that random groups differ, you use covariates to control for these chance differences.
  • But they also conclude that ANCOVA should never be used on existing groups. So some people say that you should not use (using the example above) IQ as covariate because it is not independent of the factor, and that’s a violation of the assumption. But in practice we say: be careful with the interpretation of existing groups.

AN(C)OVA test statistic: F = MSgroup/MSresidual

Adding a covariate will change the F-test if:

  • Adjusted means change (this has an effect on MSgroup )
  • The covariate is (strongly) related to Y (this has an effect on MSresidual )

So: inclusion of a covariate can be useful when groups differ on the covariate, but also when they do not! But, to be useful, the covariate must be related to Y.

In a regression model, you have R2 for the explained variance. In AN(C)OVA we have a similar measure, called eta-squared. But SPSS provides the partial eta-squared. This is still the amount of variance explained, but it’s not divided by the total variation but by the sum of the variance of this effect and the residuals. So it answers: how much variance is explained compared to the part that’s not explained (since there are more effects in one model).

The AN(C)OVA tells you whether or not there is a difference between the groups. If you find a difference, you need follow-up testing to know which group differ. In this case, you can use a post-hoc test, which tells you what groups differ significantly using pairwise comparisons. A post-hoc test uses correction to protect against inflated type 1 errors.

There is another approach, called planned comparisons. This uses specific contrast-tests. Before you do the analysis, you specify the specific groups you want to compare (for example if you expect groups to differ). It then only analyses the part you’re interested in, and does not (usually) do any alpha corrections.  

One correction that is often used in a post-hoc test is the Bonferroni correction. This multiplies the p-value by the amount of tests you run, so that the user can still compare the p-value that SPSS shows to the original alpha level.

Questions? Let me know in the contribution section!

Follow me for more summaries on statistics!

Image

Access: 
Public

Image

Join WorldSupporter!
Search a summary

Image

 

 

Contributions: posts

Help other WorldSupporters with additions, improvements and tips

Thanks!

Hey Julia, thanks for the summary and explaining the difference between ANOVA and ANCOVA!! It really helped me understand the topics!!! I do have a quick question: Why is the covariate always continuous? 

Hi Roos! I'm glad the study

Hi Roos! I'm glad the study notes helped you understand the topics :) Regarding your question: I think the covariate has to be continous (interval or ratio level) because the slope has to represent actual ordered numbers to be able to identify the relationship between the covariate and the dependent variable. However, I found on internet that a covariate can be categorical as well, but then the analysis method you use is not an ANCOVA:

https://statistics.laerd.com/spss-tutorials/ancova-using-spss-statistics.php#:~:text=Note%3A%20You%20can%20have%20more,is%20not%20often%20called%20ANCOVA.&text=If%20you%20have%20two%20independent,run%20a%20two%2Dway%20ANCOVA.) 

I hope this answers you question!

Add new contribution

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.

Image

Spotlight: topics

Check the related and most recent topics and summaries:
Institutions, jobs and organizations:

Image

Check how to use summaries on WorldSupporter.org

Online access to all summaries, study notes en practice exams

How and why use WorldSupporter.org for your summaries and study assistance?

  • For free use of many of the summaries and study aids provided or collected by your fellow students.
  • For free use of many of the lecture and study group notes, exam questions and practice questions.
  • For use of all exclusive summaries and study assistance for those who are member with JoHo WorldSupporter with online access
  • For compiling your own materials and contributions with relevant study help
  • For sharing and finding relevant and interesting summaries, documents, notes, blogs, tips, videos, discussions, activities, recipes, side jobs and more.

Using and finding summaries, notes and practice exams on JoHo WorldSupporter

There are several ways to navigate the large amount of summaries, study notes en practice exams on JoHo WorldSupporter.

  1. Use the summaries home pages for your study or field of study
  2. Use the check and search pages for summaries and study aids by field of study, subject or faculty
  3. Use and follow your (study) organization
    • by using your own student organization as a starting point, and continuing to follow it, easily discover which study materials are relevant to you
    • this option is only available through partner organizations
  4. Check or follow authors or other WorldSupporters
  5. Use the menu above each page to go to the main theme pages for summaries
    • Theme pages can be found for international studies as well as Dutch studies

Do you want to share your summaries with JoHo WorldSupporter and its visitors?

Quicklinks to fields of study for summaries and study assistance

Main summaries home pages:

Main study fields:

Main study fields NL:

Follow the author: JuliaV
Work for WorldSupporter

Image

JoHo can really use your help!  Check out the various student jobs here that match your studies, improve your competencies, strengthen your CV and contribute to a more tolerant world

Working for JoHo as a student in Leyden

Parttime werken voor JoHo

Statistics
2213 2