This table is a modification of One-Way ANOVA and can be used for both univariate linear regression and multivariate linear regression

Source

Sum of Squares

Degrees of Freedom

Mean Squares

𝐹 Statistic (ALL)

Total

Sum of Squares Total (TSS)
Sum of Squares Restricted
Sum of Squares Around Mean

  • 𝑆𝑆𝑇𝑂𝑇 = 𝛴1≤𝑖≤𝑛[𝑦𝑖 - 𝑦̅]2
  • 𝑆𝑆𝑇𝑂𝑇= 𝑆𝑆𝑅𝐸𝐺 + 𝑆𝑆𝐸𝑅𝑅

𝑑𝑓𝑇𝑂𝑇 = 𝑛 - 1

Error

Sum of Squares Error (ESS)
Sum of Squares Residual (RSS)
Sum of Squares UnRestricted
Sum of Squares Around Model

  • 𝑆𝑆𝐸𝑅𝑅 = 𝛴1≤𝑖≤𝑛[𝑦𝑖 - 𝑦̂𝑖]2 = 𝛴1≤𝑖≤𝑛[𝑒𝑖]2

𝑑𝑓𝐸𝑅𝑅= 𝑛 - # of model params including 𝜃0
𝑑𝑓𝐸𝑅𝑅= 𝑛 - (𝑘 + 1)
𝑑𝑓𝐸𝑅𝑅= 𝑛 - 𝑘 - 1

𝑀𝑆𝐸𝑅𝑅 = 𝑆𝑆𝐸𝑅𝑅 / 𝑑𝑓𝐸𝑅𝑅

Mean Square Error (MSE)
Regression Variance

𝑀𝑆𝑅𝐸𝐺/ 𝑀𝑆𝐸𝑅𝑅

this 𝐹 formula is used to test significance of the ENTIRE regression model

for other 𝐹 formulas used to test PARTIAL significance of regression model consult table below

Model

Sum of Squares Regression (RSS)
Sum of Squares Explained (ESS)

  • 𝑆𝑆𝑅𝐸𝐺 = 𝑆𝑆𝑇𝑂𝑇 - 𝑆𝑆𝐸𝑅𝑅 
  • 𝑆𝑆𝑅𝐸𝐺 = 𝛴1≤𝑖≤𝑛[𝑦̂𝑖 - 𝑦̅]2

𝑑𝑓𝑅𝐸𝐺 = 𝑑𝑓𝑇𝑂𝑇 - 𝑑𝑓𝐸𝑅𝑅
𝑑𝑓𝑅𝐸𝐺 = (𝑛 - 1) - (𝑛 - # of model params)
𝑑𝑓𝑅𝐸𝐺 = (# of model params) - 1
𝑑𝑓𝑅𝐸𝐺 = 𝑘 = number of predictor variables 𝜃𝑖‘s excluding 𝜃0

𝑀𝑆𝑅𝐸𝐺 = 𝑆𝑆𝑅𝐸𝐺 / 𝑑𝑓𝑅𝐸𝐺

𝐹 statistic for testing the null hypothesis that ALL variables are insignificant (e.g. 𝐻0: 𝜃1= … 𝜃𝑘 = 0)

𝐹 statistic for testing the null hypothesis that SOME variables are insignificant (e.g. 𝐻0: 𝜃𝑖= 0, ∀𝜃𝑖∊𝑆 where 𝑆⊆{𝜃1, … 𝜃𝑘})

unrestricted model

  • 𝑦̂𝑢𝑛𝑟𝑒𝑠𝑡𝑟𝑖𝑐𝑡𝑒𝑑 = 𝜃0+ 𝜃1𝑥1 + … + 𝜃𝑘𝑥𝑘

restricted model

  • 𝑦̂𝑟𝑒𝑠𝑡𝑟𝑖𝑐𝑡𝑒𝑑 = 𝜃0+ 0·𝑥1 + … + 0·𝑥𝑘= 𝜃0 = 𝑦̅

𝐹 sum of squares form

  • 𝐹 = 𝑀𝑆𝑅𝐸𝐺/ 𝑀𝑆𝐸𝑅𝑅
  • 𝐹 = [(𝑆𝑆𝑇𝑂𝑇𝑆𝑆𝐸𝑅𝑅)/((𝑛 - 1)-(𝑛 - 𝑘 - 1))] / [(𝑆𝑆𝐸𝑅𝑅)/(𝑛 - 𝑘 - 1)]
  • 𝐹 = [(𝑆𝑆𝑇𝑂𝑇𝑆𝑆𝐸𝑅𝑅)/(𝑘)] / [(𝑆𝑆𝐸𝑅𝑅)/(𝑛 - 𝑘 - 1)]
  • 𝐹 = [(𝑆𝑆𝑟𝑒𝑠𝑡𝑟𝑖𝑐𝑡𝑒𝑑- 𝑆𝑆𝑢𝑛𝑟𝑒𝑠𝑡𝑟𝑖𝑐𝑡𝑒𝑑)/(𝑘)] / [(𝑆𝑆𝑢𝑛𝑟𝑒𝑠𝑡𝑟𝑖𝑐𝑡𝑒𝑑)/(𝑛 - 𝑘 - 1)]

𝐹 𝑅2 form

  • 𝐹 = [𝑅2𝑢𝑛𝑟𝑒𝑠𝑡𝑟𝑖𝑐𝑡𝑒𝑑/𝑘] / [(1 - 𝑅2𝑢𝑛𝑟𝑒𝑠𝑡𝑟𝑖𝑐𝑡𝑒𝑑)/(𝑛 - 𝑘 - 1)]

unrestricted model

  • 𝑦̂𝑢𝑛𝑟𝑒𝑠𝑡𝑟𝑖𝑐𝑡𝑒𝑑 = 𝜃0+ 𝜃1𝑥1 + … + 𝜃𝑘𝑥𝑘

restricted model

  • 𝑦̂𝑟𝑒𝑠𝑡𝑟𝑖𝑐𝑡𝑒𝑑 = 𝜃0 + (linear combination of 0·𝑥𝑖 for 𝜃𝑖∊𝑆) + (linear combination of 𝜃𝑗𝑥𝑗 for 𝜃𝑗∉𝑆)
  • 𝑦̂𝑟𝑒𝑠𝑡𝑟𝑖𝑐𝑡𝑒𝑑 = 𝜃0 + (linear combination of 𝜃𝑗𝑥𝑗 for 𝜃𝑗∉𝑆)

𝐹 sum of squares form

  • 𝐹 = [(𝑆𝑆𝑟𝑒𝑠𝑡𝑟𝑖𝑐𝑡𝑒𝑑 - 𝑆𝑆𝑢𝑛𝑟𝑒𝑠𝑡𝑟𝑖𝑐𝑡𝑒𝑑)/((𝑛 - (𝑘-|𝑆|) - 1)-(𝑛 - 𝑘 - 1))] / [(𝑆𝑆𝑢𝑛𝑟𝑒𝑠𝑡𝑟𝑖𝑐𝑡𝑒𝑑)/(𝑛 - 𝑘 - 1)]
  • 𝐹 = [(𝑆𝑆𝑟𝑒𝑠𝑡𝑟𝑖𝑐𝑡𝑒𝑑 - 𝑆𝑆𝑢𝑛𝑟𝑒𝑠𝑡𝑟𝑖𝑐𝑡𝑒𝑑)/(|𝑆|)] / [(𝑆𝑆𝑢𝑛𝑟𝑒𝑠𝑡𝑟𝑖𝑐𝑡𝑒𝑑)/(𝑛 - 𝑘 - 1)]

𝐹 𝑅2 form

  • 𝐹 = [(𝑅2𝑢𝑛𝑟𝑒𝑠𝑡𝑟𝑖𝑐𝑡𝑒𝑑- 𝑅2𝑟𝑒𝑠𝑡𝑟𝑖𝑐𝑡𝑒𝑑)/(|𝑆|)] / [(1 - 𝑅2𝑢𝑛𝑟𝑒𝑠𝑡𝑟𝑖𝑐𝑡𝑒𝑑)/(𝑛 - 𝑘 - 1)]

𝐹 has f-distribution with parameters (𝑘, (𝑛 - 𝑘 - 1))

𝐹 has f-distribution with parameters (|𝑆|, (𝑛 - 𝑘 - 1))