inconsistent signatures in predict
Bug #677914 reported by
joep
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.