Skip to main content
BetaLucidstat is in beta. Results are checked against R, but always verify them against your source data.Send feedback via EZY Research

Multiple regression

Predict an outcome from several predictors; read R², B and β, and check multicollinearity.

9 min read

Try it

One click opens the “Exam scores” sample dataset with this test selected and the variables filled in. Or use your own data.

Multiple linear regression predicts one outcome from several predictors at once and shows how much each predictor contributes while the others are held constant.

When to use it

  • The outcome is one numeric variable.
  • The predictors are one or more numeric variables.
  • You want to know which variables predict the outcome, and how well.

The regression equation

Ŷ = b₀ + b₁X₁ + b₂X₂ + … + bₖXₖ
b₀ = constant, b₁…bₖ = predictor coefficients

Reading the output

1. The model as a whole

  • R²: the proportion of variance in the outcome explained by all predictors together.
  • Adjusted R²: R² adjusted for the number of predictors; use it to compare models of different sizes.
  • F-test: does the model explain the outcome better than no predictors at all?

2. Each coefficient

  • B (unstandardised): a one-unit increase in the predictor changes the outcome by B units, holding the other predictors constant.
  • β (standardised): in standard-deviation units; use it to compare which predictor carries more weight.
  • t and p: test whether each coefficient differs from 0.

Assumptions Lucidstat checks

AssumptionCheckGuideline
Normal residualsShapiro–Wilk on the residualsp ≥ .05
Independent residualsDurbin–WatsonBetween 1.5 and 2.5
No multicollinearityVIF and toleranceVIF ≤ 5

Multicollinearity happens when predictors are highly correlated with each other. Coefficients become unstable and hard to interpret. VIF = 1 ÷ tolerance; a VIF above 5 suggests dropping or combining predictors (some texts use 10).

Worked example

The "Exam scores" sample (40 students) predicts exam score from study hours and anxiety.

Checking assumptions: residuals look approximately normal (W = .954, p = .102), Durbin–Watson = 2.27, and VIF = 1.25 for both predictors. All pass.

Model summary
RR²Adjusted R²Fdfp
.84.71.7046.132, 37< .001
Regression coefficients
PredictorBSEβtp
(Constant)55.755.769.68< .001
Study hours3.670.510.717.19< .001
Anxiety−3.081.23−0.25−2.51.017

How to read it

  • Together, the two predictors explain 71.4% of the variance in exam score (R² = .71), significantly.
  • Study hours: each extra hour adds about 3.67 points, holding anxiety constant.
  • Anxiety: each one-point increase lowers the score by about 3.08 points, holding study hours constant.
  • Comparing β, study hours (0.71) carries more weight than anxiety (−0.25).
Reporting example (APA 7)

A multiple linear regression showed that Study hours and Anxiety together explained 71.4% of the variance in Exam score, R² = .71, adjusted R² = .70, F(2, 37) = 46.13, p < .001. Study hours (β = 0.71, p < .001) and Anxiety (β = −0.25, p = .017) were significant predictors of Exam score.

Reporting example (Thai thesis style)

ผลการวิเคราะห์ถดถอยพหุคูณ พบว่า ชั่วโมงอ่านหนังสือ และความวิตกกังวลร่วมกันอธิบายความแปรปรวนของคะแนนสอบได้ร้อยละ 71.4 (R² = .71, Adjusted R² = .70) อย่างมีนัยสำคัญทางสถิติที่ระดับ .05 (F(2, 37) = 46.13, p < .001) ตัวแปรที่พยากรณ์คะแนนสอบได้อย่างมีนัยสำคัญทางสถิติ ได้แก่ ชั่วโมงอ่านหนังสือ (β = 0.71, p < .001) และความวิตกกังวล (β = −0.25, p = .017) สามารถเขียนสมการพยากรณ์ในรูปคะแนนดิบได้ดังนี้ Ŷ = 55.75 + 3.67(ชั่วโมงอ่านหนังสือ) − 3.08(ความวิตกกังวล) และในรูปคะแนนมาตรฐานได้ดังนี้ Ẑ = 0.71Z(ชั่วโมงอ่านหนังสือ) − 0.25Z(ความวิตกกังวล)

Common mistakes

  • Too few cases for the number of predictors. A common guideline is n ≥ 50 + 8k, where k is the number of predictors (Green, 1991).
  • Entering a categorical variable with more than two groups as numbers, such as faculty coded 1–5. Convert it to dummy variables first.
  • Comparing B across predictors measured in different units. Use β instead.
  • Drawing causal conclusions. Regression shows prediction, not cause.

References

  • Durbin, J., & Watson, G. S. (1951). Testing for serial correlation in least squares regression. II. Biometrika, 38(1–2), 159–177.
  • Green, S. B. (1991). How many subjects does it take to do a regression analysis? Multivariate Behavioral Research, 26(3), 499–510.
  • Hair, J. F., Black, W. C., Babin, B. J., & Anderson, R. E. (2019). Multivariate data analysis (8th ed.). Cengage.

Try it

One click opens the “Exam scores” sample dataset with this test selected and the variables filled in. Or use your own data.

Related lessons