Kevin Sheppard
Kevin Sheppard
Looks good. Need to see if any tests rely on this.
One second thought, it is possible the +1 is for the estimated variance, so perhaps this isn't that strange. Ultimately as a ranking criteria it makes no difference to +1...
I think this should probably remain in pmdarima where it is better maintained.
Can you share a full reproducer?
This is expected. Per the docs: **Notes** Model statistics are given in the order of args. Models must have been fit using the formula api.
https://www.statsmodels.org/dev/generated/statsmodels.stats.anova.anova_lm.html
I think it doesn't support the type of weights you want. You want weights that are used within a single rolling regression. The weights are attached to observations and so...
The reason why the case for weights being the same len as y is precisely what you mentioned. In the current case, you can do a one-off operation and then...
This is a complex request. I think it makes more sense for end users to handle NaNs as needed. When I use routines like this, I often construct my variables,...