Repository navigation
Added KPSS test (1) - #2775
Added KPSS test (1)#2775
Conversation
Full implementation of the KPSS test, unit tests and description in the docs.
|
@josef-pkt here's the 'new' PR, with everything bundled into a single commit. |
There was a problem hiding this comment.
Commented out, since acf no longer takes a confint argument. This was in a MAINT note.
|
The branch looks good. 3 more comments with small issues (not strictly necessary)
|
|
|
IIRC, Kevin did some large scale simulations to create pvalues or critical values for unit root tests, so eventually we might be able to replace simple tables of critical values with fancier methods. |
|
@josef-pkt we can always leave the issue of a suitable warning message as something for the future. I could mention it alongside automatic lag selection in the issue I will open for the KPSS test after merger (as discussed previously in #2749). I'll push a single more commit to this branch to deal with the |
As per Josef's comments, using assert_equal for the attributes, rather than testing with assert and isinstance.
|
@josef-pkt had not seen that before, no! I did see some feature requests for it, but did not realise someone was already on it. Is it based on With regard to this PR, I think I pretty much got it now, besides the warning message. I'll leave that in an issue to be addressed in future PR's (together with lag selection). Starting February, I'll probably get onto either bootstrapped CI, or exponential smoothing. I have several books laying around on the latter over here (including a couple by Hyndman), so that may be more convenient. Do you have any preferences on this, as in, what would you like to see first? :). |
|
About ETS: I haven't looked much at the details. But the PR and code is older than the statespace models that Chad added over the last 1 to 2 years.
Both are fine with me. |
|
@josef-pkt I am willing to take a look at the ETS in #1489 sometime soon. I will probably bug Chad with it, since I may have some questions about As to this PR, is it ready for a merge? I will move to an appropriate PR for the ETS discussion. |
|
LGTM, merging @N-Wouda Thank you |
|
@ChadFulton Thanks for reviewing, that made this a lot faster |
|
No problem, I'm trying to get more involved when possible. |
Full implementation of the KPSS test; with unit tests and description in the
docs. See #2749 for a lengthy discussion on the design choices.