Regression
Purpose:
Regression predicts or explains variability in a continuous outcome (DV) from one or more predictor variables (IVs). Simple linear regression uses one predictor; multiple regression uses two or more. In experimental designs with random assignment, regression can support causal inference — in correlational designs, it cannot.
Context Used:
- ONE continuous DV
- ONE or more continuous or categorical IVs (predictors)
- A theoretical reason to predict the DV from the IV(s)
Assumptions:
- Linearity: The relationship between each IV and the DV should be linear. Check with a residuals vs. fitted values plot — points should scatter randomly around zero with no curve.
- Independence of residuals: Residuals should not be related to each other. Generally met by design in psychology research.
- Homoscedasticity: The spread of residuals should be roughly equal across all predicted values. Look for a consistent band, not a funnel shape, in the residuals plot.
- No multicollinearity (multiple regression only): IVs should not be excessively correlated with each other. Check "Collinearity statistics" in Jamovi — a VIF > 10 indicates a problem.
Jamovi Walkthrough:
- Click "Regression"
- Click "Linear Regression"
- Move the DV into the "Dependent Variable" box
- Move continuous IVs into "Covariates"; move categorical IVs into "Factors"
- Under "Model Fit," check "R²" and "F test"
- Under "Model Coefficients," check "Standardized estimate" and "Confidence interval"
- Under "Assumption Checks," check "Residuals plots" and "Collinearity statistics"
R Walkthrough:
model <- lm(outcome ~ predictor, data = df)
summary(model)
mcSummary(model) # more detailed output
plot(model) # 4 diagnostic plots
Output Interpretation:
R² (R-squared): The proportion of variance in the DV explained by the full model. Ranges from 0 to 1. Report as a percentage: "The model explained % of the variance in [DV]."
F-statistic and p-value:
- If p < .05 → the overall model significantly predicts the DV.
- If p > .05 → the model does not significantly predict the DV.
B (unstandardized coefficient): For every 1-unit increase in the IV, the DV changes by B units. Interpreted in the original units of measurement. The absolute size of B should be interpreted in context — do not assess it relative to 1.
β (standardized coefficient): B expressed in standard deviation units. Allows comparison of predictor importance across variables measured on different scales. A larger |β| means a stronger unique contribution to predicting the DV.
p-value (for each predictor):
- If p < .05 → this predictor significantly predicts the DV.
- If p > .05 → this predictor does not significantly predict the DV.
APA Format:
Appropriate data visualization: Scatterplot with regression line (simple regression). For multiple regression, use a regression table.
Sample write-up:
Note: For multiple regression, report these statistics for each predictor in a regression table. Always report both B and β.