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
orig_endog vs endog_lagged vs... #3689
Comments
good idea, but I don't have an opinion on names and convention right now. However, GLSAR is different, wendog and wexog are transformation similar to WLS and GLS and not just truncation. So those are different. |
VAR endog_lagged might also be a bit different. IIRC those are the past endog for the regressor matrix, and not the truncated endog. |
You're right on all counts. I still consider these special cases of the same general phenomenon. The unifying characteristic is that these are all cases where we cannot define
As long as it isn't part of the exposed API, choosing an ideal convention is probably less important than choosing a convention. So let's throw some stuff against the wall:
|
I will add that I also get confused about this, particularly because |
Are statespace models sufficiently recent that changes can be made without breaking backwards-compatibility? If you were to decide on a One True Convention in statespace, that could become the Schelling Point for other models. To the extent that multiple names need to be retained for backwards-compatibility, there's room to reduce ambiguity by being explicit. Something like:
In the case of This relates to #1664 on which I'll post a comment shortly. |
Related #2314 |
Related: mlemodel.nobs_effective |
Mostly @ChadFulton
Many models in tsa have to truncate the given
endog
, and updatenobs
in accordance. They could be more uniform in what names they use for both the truncated and un-truncated versions.endog_lagged
self.endog
, then later accessesself.data.endog
to access the original. (at least I think that's the motivation. Less sure on this than the others)orig_endog
. It also updatesself.data.endog
so the previous method is not immediately applicable.regression.linear_model.GLSAR
truncatesexog
and calls itwexog
I don't have any real preferences over these variants, but would like to settle on a standard. It could be done with aliases to maintain backward-compatibility. Thoughts?
The text was updated successfully, but these errors were encountered: