Simple linear regression fits a straight line that predicts an outcome y from one predictor x by minimising the sum of squared residuals. The slope is the expected change in y for a one-unit increase in x.
Formula
ŷ = b₀ + b₁x, b₁ = r × (s_y / s_x)
npm run build to enable full search.
Statistics
Simple linear regression fits a straight line that predicts an outcome y from one predictor x by minimising the sum of squared residuals. The slope is the expected change in y for a one-unit increase in x.
ŷ = b₀ + b₁x, b₁ = r × (s_y / s_x)