Questions tagged [kpss-test]

Kwiatkowski-Phillips-Schmidt-Shin (KPSS) test is used to analyze time series. The null hypothesis is that the time series is stationary. It is often used to complement an Augmented Dickey Fuller (ADF) test.

Filter by
Sorted by
Tagged with
40 votes
4 answers
47k views

What is the difference between a stationary test and a unit root test?

What is the difference between the Kwiatkowski–Phillips–Schmidt–Shin (KPSS) test and the augmented Dickey-Fuller (ADF) test? Are they testing the same thing? Or do we need to use them in different ...
Flying pig's user avatar
  • 6,069
31 votes
3 answers
93k views

How to know if a time series is stationary or non-stationary?

I am using R, I searched on Google and learnt that kpss.test(), PP.test(), and adf.test() ...
Sagar Nikam's user avatar
11 votes
4 answers
24k views

Contradictory results of ADF and KPSS unit root tests

To check whether the data is stationary or not, I computed KPSS and ADF test and got the following results ...
Praveen's user avatar
  • 111
8 votes
1 answer
3k views

Best practice for ADF/KPSS unit root testing sequence?

I've been quite confused by the various unit root testing strategies recommended in the literature, so I was hoping others may have some advice on the best way to proceed using ADF and KPSS tests. ...
dreamon's user avatar
  • 129
8 votes
1 answer
668 views

Unit root tests and stationarity

Two common methods of testing whether a time series is stationary are the KPSS and ADF tests. If my understanding is correct, these tests essentially work by measuring the residuals of fitting the ...
gamerx's user avatar
  • 548
7 votes
1 answer
42k views

How to interpret KPSS results?

I'm using R to calculate the KPSS to check the stationarity. The library that I'm using is tseries and the function is kpss.test I have done a simple test using cars (a default matrix on R). The ...
Dail's user avatar
  • 2,407
7 votes
1 answer
3k views

What are the assumptions for checking the stationarity of a time series?

I am checking stationarity or non-stationarity of a time series with R and I am using adf.test and kpss.test in ...
Fred's user avatar
  • 1,007
6 votes
3 answers
8k views

Seasonal data deemed stationary by ADF and KPSS tests

I have got two time series and I want to evaluate a VAR model. For this, it is necessary that both time series are stationary. Using R, I have found periodicity ...
T. Beige's user avatar
  • 307
5 votes
3 answers
2k views

Unit root tests ambiguous - is time series stationary?

I am testing a time series (quarterly) for stationarity. However, using the KPSS test, the ADF test and PP test, I get different results (ADF and PP reject non-stationarity, KPSS rejects stationarity, ...
Lila's user avatar
  • 65
5 votes
3 answers
1k views

Bounded dependent variable: can it be unit-root non-stationary?

I have linear time series regression model where the dependent variable Y is bounded between 0 and 1. Using classical unit root tests (dickey-fuller and kpss), results would make you conclude that Y ...
Giuseppe's user avatar
  • 231
4 votes
1 answer
4k views

R: Box.test vs adf.test vs kpss.test

I stuck in checking my Time Seies for stationarity with several tests: ...
Nick Nikolaev's user avatar
4 votes
1 answer
2k views

Is there an optmal lag choice in the KPSS test?

Is there an optimal lag choice in the KPSS test in Stata? For instance, in my example below, for some lags (less than 7) you reject the null for any level of significance. But afterwards, that does ...
John Doe's user avatar
  • 1,506
3 votes
3 answers
10k views

Is my time series stationary?

I am using R and have found that both KPSS ( Kwiatkowski-Phillips-Schmidt-Shin ) and the adf (Dickey-Fuller) tests indicate stationarity, having a p-value of 0.01. Here is a plot of the original data:...
pookie's user avatar
  • 245
3 votes
2 answers
303 views

Using KPSS test in Python with statsmodels

17.7736 17.7736 17.7638 17.7638 17.754 17.754 17.7834 17.7834 17.7834 17.7834 17.7834 17.7834 17.7834 17.7834 17.8324 17.8324 17.8324 17.852 17.9304 17.9304 17.9304 18.1166 18.1166 18.1166 18.1166 18....
oleva's user avatar
  • 169
3 votes
2 answers
6k views

Interpreting results of KPSS test in R

I've been trying to create an ARIMA model however, I'm not sure how to determine if the data is stationary or not. I preformed a KPSS test in R using kpss.test from ...
jlang's user avatar
  • 33
3 votes
2 answers
7k views

Stationarity tests in a regression model [closed]

In a model I am trying to justify, a mortgage rate spread is estimated by regression on a swap spread using around 40 monthly data-points. The model fails the assumptions of heteroskedasticity and ...
Des's user avatar
  • 31
3 votes
1 answer
444 views

How can this time series be stationary?

I have the following irregularly spaced time series. The related autocorrelogram is: and I run the following tests: ...
stochazesthai's user avatar
3 votes
2 answers
3k views

How to determine correlation between stationary and non-stationary time series

I have three time series of economic data based on quarterly observations; A, B and C, and I would like to ascertain the correlation (or not) between A and C as well as the correlation between B and S....
Allan's user avatar
  • 31
3 votes
1 answer
194 views

Is the order important when applying unit root tests?

I'm using KPSS unit root test with a vector of 700 observations. The test return a p-value of 0.1 (so it seems stationary), but if I reverse the vector the KPSS test tells me the vector is not ...
Dail's user avatar
  • 2,407
2 votes
1 answer
276 views

How to check if a process has constant variance?

I am using KPSS test to verify if my process has constant variance around the mean, but I am not sure if this is the correct test for my case. In KPSS the null hypothesis is that the process is ...
emot's user avatar
  • 123
2 votes
1 answer
2k views

Interpretation of ADF(Augmented Dickey-Fuller) and KPSS (Kwiatkowski–Phillips–Schmidt–Shin) tests for time series

Can anyone please clarify for me the differences between ADF (Augmented Dickey-Fuller) and KPSS (Kwiatkowski–Phillips–Schmidt–Shin) tests in testing the stationarity of a time series? I tested my ...
Sarah's user avatar
  • 33
2 votes
1 answer
6k views

KPSS test outputs and DF test interpretation

I am running a Kwiatkowski–Phillips–Schmidt–Shin test (KPSS test) in R (urca::ur.kpss). However, I am quite unsure if it is performed correctly, because the ...
Carol.Kar's user avatar
  • 685
2 votes
2 answers
1k views

Is my Data stationary? KPSS, ADF Tests and ACF

I already differenced my Data by 1 and i am not sure whether my Data is now stationary or not. I perfomed an KPSS and ADF test in order to help me decide if it is. I think it is stationary but im not ...
Quentio's user avatar
  • 23
2 votes
0 answers
49 views

The contradiction in KPSS and HEGY test

I am new to this field and I have a question. I have a seasonal rainfall dataset and I want to apply SARIMA model on it. For this purpose, I applied the KPSS tests and I got the following output: <...
iloloa's user avatar
  • 69
2 votes
0 answers
970 views

ADF and KPSS test both rejected

When testing the stationarity of residuals after OLS estimation, the ADF and KPSS test have opposing conclusions when it comes to rejecting the null: ADF: Rejection of null concludes evidence of ...
rayven1lk's user avatar
  • 201
2 votes
0 answers
183 views

Time series and stationarity tests

I perform some time series fitting with the help of the forecast and urca packages. I have a question regarding the corespondance between results coming from ...
Ludo's user avatar
  • 303
2 votes
0 answers
592 views

About 2 unit root tests and null hypothesis

I have been looking at unit root testing. Specifically 2 tests: The ADF test. The ADF (augmented Dickey Fuller) test has the null hypothesis that "the time series has a unit root" (meaning that the ...
statquant's user avatar
  • 161
2 votes
0 answers
199 views

Practical time series advice

I have collected performance data at fixed time intervals from a 'shared system' with the aim of investigating the affect of the sharing on the performance of my 'slice' of the system. The performance ...
user23774's user avatar
  • 259
1 vote
2 answers
9k views

ADF test, PP test, KPSS test: Which test to prefer?

If a time series is tested for Unit Root (by ADF, PP, KPSS,...) problem is detected with some tests and not found by others. Which one is preferred? For example if ADF says us that there is a Unit ...
Huseyin's user avatar
  • 113
1 vote
1 answer
4k views

P-value of Augmented Dickey-Fuller test and KPSS test

I would like to test if the time series of the US 3-month treasury bills (monthly data from 1934 to 2015) is stationary. I'm using the ADF test in R (from the package ...
Egodym's user avatar
  • 175
1 vote
1 answer
1k views

Unit Root testing and stationarity of a time series

I'm trying to understand: how is check for stationarity(or lack thereoff) linked to unit root testing. More so the logic of it. i understand the null hypothesis used in adf or kpss but I need the ...
Freewill's user avatar
  • 151
1 vote
1 answer
4k views

Confused on kpss.test shows both "Trend" and "Level" are smaller than p-value R

I am fairly new to time series analysis. I am using hourly data for six months time period. My time series has seasonality every week. Per Dr.Robert Hyndman I set up my time series variable and then ...
i.n.n.m's user avatar
  • 135
1 vote
1 answer
3k views

Interpretation of ADF Test

I am doing the augumented Dickey-Fuller test to check if my series are stationary or not. ...
Carol.Kar's user avatar
  • 685
1 vote
1 answer
1k views

MA on a non-stationary time series

I have some data I would like to do some simple forecasting on. Its is non-stationary, looking at the time plot & from ADF & KPSS tests. After differencing I now have a stationary series. I ...
user23774's user avatar
  • 259
1 vote
1 answer
728 views

How could I confirm if the time series is stationary?

I'm using KPSS method to check if the time series is stationary, but I would also like to use another test to confirm the hypothesis that the time series is stationary. I'm already using Unit root ...
Dail's user avatar
  • 2,407
1 vote
1 answer
74 views

Order of integration for a time series with constant mean and increasing variance

I am trying to find the order of integration of a time series. I checked for stationarity using the ADF and KPSS tests. Both the tests indicated non-stationarity, so I differenced the series once and ...
Shanaya's user avatar
  • 13
1 vote
1 answer
163 views

Testing by using KPSS

When use KPSS to test the stationarity of data series I get this warning .Does it affect the final results? ...
oleva's user avatar
  • 169
1 vote
1 answer
146 views

Evaluating the importance of a unit-root

I have a monthly time series and I'm trying to determine if such set of data is stationary or not; the dataset is about composed by 160 record. Specifically, I'm running 2 test found in literature: ...
Quantopik's user avatar
  • 335
1 vote
1 answer
4k views

How do I tell that my time series is stationary or not?

I am new to time series analysis and I am trying to model a time series. I know there are similar questions but I could not figure out the solution to my problem. I have a time series like the one ...
Dhineshkumar's user avatar
1 vote
1 answer
327 views

Stationarity consideration in ARIMA using KPSS test

I have data, which I am sure has a downward trend. I am trying to forecast this data using ARIMA and I want ARIMA to consider the trend when it is forecasting. The first step in ARIMA is to ...
nancy's user avatar
  • 81
1 vote
0 answers
50 views

How is it possible that the statsmodels KPSS test rejects trend-stationarity but not stationarity?

take the time series in the code block below - if I run a KPSS test using statsmodels based on a regression around a constant (i.e. test for regular stationarity), ...
tobmo's user avatar
  • 71
1 vote
0 answers
20 views

Test to show that the underlying process of two non-stationary time-series are different?

Let's say I have carried out two experiments where something was changed in one compared to the other. I measure a feature in each experiment and therefore have the two time series for this feature, ...
Tobias's user avatar
  • 31
1 vote
0 answers
89 views

Kwiatkowski–Phillips–Schmidt–Shin (KPSS) and Augmented Dickey–Fuller (ADF) Tests

I have been searching for a sample usage of the KPSS and ADF tests, however I can only find pages reporting examples using R or Python. The mathematical definition of the KPSS test also seems to be ...
98418's user avatar
  • 11
1 vote
0 answers
178 views

How to assess stationarity when kpss and dickey-fuller test give conflicting results?

I have used R to test the residuals of my time series data, I have used the tseries function for the kpss and dickey fuller test. Both gave conflicting results where dickey fuller said the data was ...
j.doe's user avatar
  • 23
1 vote
0 answers
39 views

Time series regressions

I'm trying to make a basic scatter plot/regression to look at the relationship between two time series. Series a is volume of mentions of a product on a forum over time, series b is the sales of the ...
user1200's user avatar
1 vote
1 answer
964 views

Can adf test and kpss test contradict?

I have a time series data for 18 months. To check for stationary I conducted adf test, to which my p value is 0.8. And kpss test has a p value of 0.1 , so at 95% confidence level I fail to reject null ...
Manisha's user avatar
  • 80
1 vote
0 answers
114 views

Is my interpretation of ADF and KPSS correct?

I am new to time series analysis, and I am trying to interpret the ADF and KPSS results. Is my interpretation of stationary correct? ...
Andrey's user avatar
  • 111
1 vote
1 answer
4k views

KPSS: Difference between level stationary and trend stationary

Can anyone please clarify for me the differences between level stationary and trend stationary in KPSS test? I run the KPSS test with trend and level on same time series and the results are: H0: ...
Saraz's user avatar
  • 77
1 vote
0 answers
424 views

KPSS test & ADF test - range to choose for lags

Suppose I want to check if a series is stationary with the KPPS test; the literature suggests to take as lags $\sqrt n$ where $n$ is the number of observations. Do you agree with the literature? Which ...
user25954's user avatar
  • 139
1 vote
0 answers
572 views

Contradiction in the ADF (Augmented Dickey-Fuller) and KPSS (Kwiatkowski–Phillips–Schmidt–Shin) tests for financial time series

I use the ADF and KPSS to test for stationarity / non-stationarity of price increments in financial time series. The two test applied provide different results for low lags, but the same result for ...
Reinhard Fellmann's user avatar