Skip to content
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

added kpss stationarity test #43

Open
wants to merge 53 commits into
base: master
Choose a base branch
from
Open

Conversation

josepablocam
Copy link
Contributor

Added the popular KPSS test for stationarity. Followed R's tseries implementation. Added appropriate tests.

I mainly added kpss because it is part of the algorithm used by auto.arima in Hyndman's forecast package in R. I think having something similar to auto.arima in the ARIMA object would be nice for users, so eventually would like to implement that, and needed kpss for it.

jose.cambronero and others added 30 commits June 12, 2015 11:40
A couple of simple changes to get started: corrected
added EWMA functionality and tests
…evant tests), added missing type to EasyPlot functions
sryza and others added 22 commits June 29, 2015 23:39
added scaladoc comments for up/down sampling
…_label_to_key

sryza#24: Renamed labels to keys in TimeSeries
…e config xml the indentation formatting IntelliJ craved
Return figures in plotting functions
* Journal of Econometrics, 159-178.
*/
private val kpssConstantCriticalValues = ListMap(0.10 -> 0.347, 0.05 -> 0.463, 0.025 -> 0.574,
0.01 -> 0.739
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it'd look a little nicer to have all the critical values on the same line

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants