New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GMM default xnames, truncate summary #1465
Comments
https://github.com/statsmodels/statsmodels/blob/master/statsmodels/base/model.py#L119 Does that do it? A bit inconsistent https://github.com/statsmodels/statsmodels/blob/master/statsmodels/tsa/arima_model.py#L931 |
Good, from what I remembered it wasn't settable. Correction: it can be changed but not assigned ?
I still need to find a way where to add the default adjustment. For GenericLikelihoodModel, I put it into the There I used (which I didn't remember):
|
BTW this works, but I don't know if it's not only because I already have the attribute in my example
|
You can either overwrite exog_names property or assign to self.data.xnames. We're setting it in ARMA, but maybe because it hasn't been called yet? I'm not sure. I thought I explicitly used getter and setter somewhere. |
In an example with an extra parameter, additional to exog.shape[1], the extra parameter is not added to the params table in summary().
The default way that model.data.xnames is set, only looks at exog.
In GenericLikelihoodModel, there are additional adjustments to add names so exog_names matches params (same length).
GMM doesn't have anything similar. How do users define parameter names? except explicitely in summary call.
workaround:
The text was updated successfully, but these errors were encountered: