6.7.6.3.2.1.3. statsmodels.sandbox.regression.onewaygls.OneWayLS.fitjoint¶
-
OneWayLS.
fitjoint
()[source]¶ fit a joint fixed effects model to all observations
The regression results are attached as lsjoint.
The contrasts for overall and pairwise tests for equality of coefficients are attached as a dictionary contrasts. This also includes the contrasts for the test that the coefficients of a level are zero.
>>> res.contrasts.keys()
[(0, 1), 1, ‘all’, 3, (1, 2), 2, (1, 3), (2, 3), (0, 3), (0, 2)]
The keys are based on the original names or labels of the groups.
TODO: keys can be numpy scalars and then the keys cannot be sorted