Hi
Can anyone explain what are type 1 2 and 3 in anova_lm (see below)?
I checked the notes in the Statsmodel anova section and also went to the Stats 191 lecture notes which this module is based on, but couldn't find any definition of Anova type 1, 2 and 3. Can anyone provide the info?
Thanks in advance.
Wai Leong
===
anova_lm(*args, **kwargs)
ANOVA table for one or more fitted linear models.
Parameters
----------
args : fitted linear model results instance
One or more fitted linear models
scale : float
Estimate of variance, If None, will be estimated from the largest
model. Default is None.
test : str {"F", "Chisq", "Cp"} or None
Test statistics to provide. Default is "F".
typ : str or int {"I","II","III"} or {1,2,3}
The type of ANOVA test to perform. See notes.
robust : {None, "hc0", "hc1", "hc2", "hc3"}
Use heteroscedasticity-corrected coefficient covariance matrix.
If robust covariance is desired, it is recommended to use `hc3`