discretemod predict typo

Bug #659923 reported by joep
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
statsmodels
New
Undecided
Unassigned

Bug Description

in a branch not exercised there is a typo .results instead of _results

>>> logit_mod.predict(linear=True)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "c:\josef\eclipsegworkspace\statsmodels-josef-experimental-gsoc\scikits\statsmodels\discretemod.py", line 162, in predict
    return np.dot(exog, self.results.params)
AttributeError: 'Logit' object has no attribute 'results'
>>>

Revision history for this message
joep (josef-pktd) wrote :

fixed in my branch and will push to devel

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.