Multiple Linear Regression Calculator

Fit y = b₀ + b₁x₁ + … + b₄x₄ with up to four predictors — coefficients, standard errors, t and p-values, R², adjusted R²…

Results

Enter your details and click Calculate to see your results.
About This Calculator

β = (XᵀX)⁻¹Xᵀy. SE(bⱼ) = √(MSE·[(XᵀX)⁻¹]ⱼⱼ), t = bⱼ/SE with n − p df; F = (SSR/(p − 1))/MSE.

Example

Example: → ŷ = 4.5 + 1.63889x₁ − 0.0277778x₂, R² = 0.9911032.

Assumptions

Each predictor list must have the same length as y; strongly correlated predictors make coefficients unstable.

Frequently Asked Questions

How many observations do I need?

More than the number of coefficients — ideally 10–20 per predictor.

Related Calculators

About the Author

Imran Hossain
Imran Hossain

Professional SEO, Digital Marketer Specialist

I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist

View full profile