Compare linear submodel versus larger one
[z,p, esub, e] = cmpmod(Y, Xsub, X)
dependant variates vector
controlled variates "X" matrix for the submodel
controlled variates "X" matrix for the model
F-test statistic value
Prob(F variate > z)
residus vector for the submodel
residus vector for the model
Compare linear submodel versus larger one. The standard hypothesis F-test of a regular linear model against a smaller regular one.