inconsistent signatures in predict

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

Bug Description

model.Model.predict has design as argument
regression.GLS has exog and params=None as arguments

calculations in RegressionResults require/use params when calling predict

example:
NonlinearLS subclasses Model and uses RegressionResults, calling bse, or cov_params raises exception in wresid
TypeError: predict() takes exactly 2 arguments (3 given)

I will adjust the signature in model.Model

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.