Login
📚 Mostly Harmless Statistics
Chapters ▾
⇩ Download ▾

12.12 Chapter 12 Formulas

SSxx=(n1)srx2
SSyy=(n1)sy2
SSxy=(xy)n·x¯·y¯
Correlation Coefficient
r=SSxy(SSxx·SSyy)
Correlation t-test
H0:ρ=0
H1:ρ0
t=r(n21r2)
df=n2
Regression Equation (Line of Best Fit)
y^=b0+b1x
Slope
b1=SSxySSxx
y-Intercept
b0=y¯b1x¯
Slope t-test
H0:β1=0
H1:β10
t=b1(MSESSxx)
df=np1=n2
Slope/Model F-test
H0:β1=0
H1:β10
Standard Error of Estimate
sest=(yiy^i)2n2=MSE
Residual
ei=yiy^i
Prediction Interval
y^±tα/2·sest(1+1n+(xx¯)2SSxx)
Coefficient of Determination
R2=(r)2=SSRSST
Multiple Linear Regression Equation
y^=b0+b1x1+b2x2+·+bpxp
Model F-Test for Multiple Regression
H0:β1=β2==βp=0
H1: At least one slope is not zero.
Adjusted Coefficient of Determination
Radj2=1((1R2)(n1)(np1))
 
Regression ANOVA table with equations.

Adapted from Mostly Harmless Statistics by Rachel Webb (Portland State University), hosted on LibreTexts (stats.libretexts.org) and licensed under CC BY-SA 4.0. Changes were made. License: CC-BY-SA-4.0.