R Tutorial - #12 - Repeated measures and mixed design ANOVA
HTML-код
- Опубликовано: 22 авг 2024
- Sections:
0:00 Introduction
1:06 Description of the data set (Psychotherapy Trial)
5:18 Import the data set and create a data frame
7:51 Descriptive statistics
13:27 Scatter and line plot of the clinical trial results using ggplot
18:40 How to specify a repeated measures using the aov_4() function
22:19 One-way repeated measures ANOVA using the aov_4() function
33:06 Extract the residuals/predicted values
34:48 Testing parametric test assumptions
35:21 Problem: diagnostic plots for repeated measures
40:15 Planned contrasts for a one-way repeated measures ANOVA
47:27 Mixed design ANOVA using the aov_4() function
57:08 Extract the residuals/predicted values
57:25 Testing parametric test assumptions
59:56 Planned contrasts for a mixed design ANOVA
I begin by describing a new data set we will be analyzing (Psychotherapy Trial). After getting some descriptive statistics and making a plot, I show you how to define a repeated measures predictor using the aov_4() function. I then show you how to perform a one-way repeated measures ANOVA, including how to extract the residuals/predicted values and overcome a problem with diagnostic plots in R for models with repeated measures. I then show you how to perform planned contrasts for a one-way repeated measures ANOVA using the aov_4() function. The last part of the tutorial shows you how to run a mixed design ANOVA using the aov_4() function, in addition to running those other analyses I described.
To freely download the R code and data sets used in this tutorial series, visit github.com/Stat.... This tutorial analyzes a data set modified from data built by Dr. Andy Field ( / profandyfield ) for his R package ‘adventr’ (cran.r-project....