Skip to main content

Analysis of Variance: Repeated-Measures

  • Chapter
  • First Online:
Behavioral Research Data Analysis with R

Part of the book series: Use R! ((USE R))

  • 7034 Accesses

Abstract

R can be used to calculate univariate and multivariate statistics for repeated-measures ANOVA. This chapter covers a few examples on how to carry out these calculations. In experimental psychology, a repeated-measures design typically refers to collecting multiple data points from the same subject. These repeated assessments are made under different experimental conditions. We are interested in the within-subject effects – to what extent the experimental conditions affected the subjects’ responses. We are also interested in between-subject effects (e.g., gender differences) and the potential interactions between within- and between-subject effects (e.g., effects of experimental manipulations differed across males and females). These effects can be approached using univariate and multivariate statistics. The univariate statistics can be calculated by the function aov() with within-subject Error() terms. Multivariate statistics can be found using several methods. We will cover two, the manova() function and lm() function when Y is a matrix. The multivariate solution using lm() generates the Greenhouse–Geisser and Huynh–Feldt epsilons. The statistics theory behind the syntax can be found in the references, so detailed explanations are not provided here.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 64.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 84.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    contributed by Christophe Pallier.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Yuelin Li .

Rights and permissions

Reprints and permissions

Copyright information

© 2012 Springer Science+Business Media, LLC

About this chapter

Cite this chapter

Li, Y., Baron, J. (2012). Analysis of Variance: Repeated-Measures. In: Behavioral Research Data Analysis with R. Use R!. Springer, New York, NY. https://doi.org/10.1007/978-1-4614-1238-0_5

Download citation

Publish with us

Policies and ethics