## Experiment 1: Effect of Speed Type ##
A general linear model takes the form:
$$SD \sim \beta_0 + speed + type + speed \times type$$
where $speed$ is a continuous independent variable in units of octaves, and $type$ is coded as a categorical independent variable.
**EXP1stats.R** performs the following statistical analyses:
1. Confirm the normality of the data
2. Generate the general linear model
3. Perform a two-way ANOVA
4. Calculate partial eta squared
5. Due to significant interaction, remove the interaction term and rerun a simple main effects model
6. Analyze simple main effects of $speed$ for each $type$
7. Run pairwise comparisons between $type$
## Experiment 2: Effect of Reference Frame Speed Shift ##
A multiple linear regression takes the form:
$$SD \sim \beta_0 + speed + shift + speed \times shift$$
where $speed$ and $shift$ are continuous independent variables.
**EXP2stats.R** performs the following statistical analyses:
1. Confirm the normality of the data
2. Generate the multiple linear regression
3. Due to insignificant interaction, remove the interaction term
4. Analyze main effects of $speed$ and $shift$
A post-hoc multiple linear regression takes the form:
$$rate \sim \beta_0 + speed + shift + speed \times shift$$
where $speed$ and $shift$ are continuous independent variables.
**EXP2stats.R** continues with the following post-hoc statistical analyses:
5. Confirm the normality of the data
6. Generate the multiple linear regression
7. Due to insignificant interaction, remove the interaction term
8. Analyze main effects of $speed$ and $shift$
## Experiment 3: Effect of Audio Feedback ##
A general linear model takes the form:
$$SD \sim \beta_0 + speed + feedback + speed \times feedback$$
where $speed$ is coded as a continuous independent variable and $feedback$ is coded as a discrete independent variable.
**EXP1stats.R** performs the following statistical analyses:
1. Confirm the normality of the data
2. Generate the general linear model
3. Perform a two-way ANOVA
4. Calculate partial eta squared
5. Due to significant interaction, remove the interaction term and rerun a simple main effects model
6. Analyze simple main effects of $speed$ for each $feedback$
7. Run pairwise comparison between $feedback$