Back to marketplace

Week 9 - linear models: multiple factors

No description yet. This curated deck is ready for daily study.

Total cards: 8•Content version: v4•Public deck•Updated: 8/1/2026

Card preview (8)

#1
Front (Question)

are factors categorical or numerical?

Back (Answer)

either or both

#2
Front (Question)

what are we testing?

Back (Answer)

analyses replicate values of Y for all combinations of groups in two or more factors (categorical Xs) Might have three null hypotheses - main effects (two hypotheses) and the third is the interaction

#3
Front (Question)

linear models shapes and interactions

Back (Answer)

if lines are parallel, then each factor’s effect on Y is the same across groups in the other factor (i.e., factors don’t interact) if lines aren’t parallel, then each factor’s effect on Y differs across groups in the other factor (i.e., factors interact) Interaction with A and B (cross): but they can make tests of main effects invalid… so we must always consider the validity of main effects if factors interact Tests of main effects may not be invalid but we need to think about it

#4
Front (Question)

fixed factor

Back (Answer)

different categories of a fixed factor are predetermined of direct interest and repeatable.

#5
Front (Question)

random factor

Back (Answer)

a variable whose groups are not predetermined but instead are randomly sampled from a population of groups.

#6
Front (Question)

adjusting for the effects of a covariate

Back (Answer)

ANCOVA Investigate if linear regression fitted to data from multiple groups have the same slope.

#7
Front (Question)

testing interaction

Back (Answer)

A linear model with one numerical and one categorical explanatory variable fits seperate regression lines to each group of the categorical variable A test of the interaction term between the two variables is a test of whether the slopes of the regression lines is the same for all groups of the categorical variable (focuses on interaction) or to adjust the factor’s effect on Y to account for the numerical variable (assumes no interaction) Three null hypotheses

#8
Front (Question)

fitting a model without an interaction term

Back (Answer)

If we can assume that there is no difference between the regression slopes then we can fit a model without an interaction term Do this with great caution