Linear Regression Flashcards
Linear Model Equation
ŷ = bₒ + b₁ x
Model
An equation or formula that simplifies and represents reality.
The points (x, ? ) all lie exactly on the fitted line.
The value of ŷ found for a given x-value in the data such that the points (x, ŷ ) all lie exactly on the fitted line.
Residuals
Difference between the data values and the corresponding values predicted by the regression model,
Observed value - Predicted value:
y - ŷ
Regression Line
The equation of this line satisfies the least squares criterion.
Also called the line of best fit.
Line of best fit
The equation of this line satisfies the least squares criterion.
Also called the regression line.
Slope Formula for b₁
b₁ = r Sy / Sₓ
Intercept Formula
bₒ = ȳ - b₁ x̄
Regression to the mean
This happens because the correlation (r) is always less than 1.0 in magnitude:
each predicted ŷ tends to be fewer standard deviations from its mean than its corresponding x was from its mean:
ẑy = r zx .
Standard Deviation of the residuals Formula
se = √ (Σe2
___
n-2)
Correlation Squared, R2, gives…
This gives the fraction of the variability of y accounted for by the least squares linear regression on x.
Does the Plot Thicken? Condition
Check the scatterplot of residuals vs. the x-values for this condition
(should be horizontal and shapeless for, equally scattered for all predicted values).