Skip to content

Commit

Permalink
Add covariance type to summary
Browse files Browse the repository at this point in the history
  • Loading branch information
kshedden committed Oct 4, 2013
1 parent 4c0a730 commit 1a1d7be
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions statsmodels/genmod/generalized_estimating_equations.py
Expand Up @@ -694,8 +694,8 @@ def fit(self, maxit=60, ctol=1e-6, starting_params=None):
self._update_assoc(beta)

if fitlack >= ctol:
warnings.warn("Iteration reached prior to convergence",
ConvergenceWarning)
warnings.warn("Iteration limit reached prior to "
"convergence", ConvergenceWarning)

if beta is None:
warnings.warn("Unable to estimate GEE parameters.",
Expand Down Expand Up @@ -967,6 +967,7 @@ def summary(self, yname=None, xname=None, title=None, alpha=.05):
('Family:', [self.model.family.__class__.__name__]),
('Dependence structure:', [self.model.varstruct.__class__.__name__]),
('Date:', None),
('Covariance type: ', ['Robust',])
]

NY = [len(y) for y in self.model.endog_li]
Expand Down

0 comments on commit 1a1d7be

Please sign in to comment.