F-Test (ANCOVA)

From Q
Jump to navigation Jump to search

The test statistic is:

f=∑i=1nwi(y^i−y¯)2/df1∑i=1nwi(yi−y^i)2/df2

where:

yi is the ith of n observed values of a numeric variable,
y^i is a value fitted by weighted least squares,
df1=k,
k is the number of independent variables in the weighted least squares (excluding the constant),
df2=∑i=1nwi−k−1,
wi is the Calibrated Weight, and
p≈Pr⁡(Fdf1,df2≥f).

See also