As of May 31, 2023, we have updated our Code of Conduct.

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.

26 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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
972 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
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
0 answers
115 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
426 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
573 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
0 votes
0 answers
37 views

Johansen Cointegration Test returns non-stationary error even though trace statistics suggest their existence

Before I start, I asked this question on Quant Finance before. But other Questions going into the same direction have been redirected to this stack exchange. Therefore I post this here as well. I'm ...
Marx's user avatar
  • 1
0 votes
0 answers
15 views

Is it valid to perform a stationarity test on a single frequency of a time-frequency spectrum?

Am I violating any assumptions if I perform a test such as the KPSS test on a single frequency band of a time-frequency spectrum?
JCastro's user avatar
0 votes
0 answers
99 views

ADF and KPSS test both conclude stationarity but the time series has trend?

I am trying to implement time series stationarity tests on my data. When I carry out ADF (Augmented Dickey-Fuller) and KPSS tests on my data the p values suggest time series stationarity. However, ...
Vinayak Huggannavar's user avatar
0 votes
0 answers
55 views

KPSS test and ADF test

I have 10 datasets and I tested all these dataset by using ADF test and I get on p-value = 0 (p-value<0.05 this mean the series is stationary) . After that I used KPSS test and I get some dataset ...
kayla's user avatar
  • 101
0 votes
0 answers
118 views

Stationarity of time series with KPSS test

I have dataset with size 4630 and I used KPSS test to check if it is stationary or not. I get on this output, Is that mean the value of p_value is not correct? or how can test large values with kpss ...
ayla's user avatar
  • 11
0 votes
0 answers
64 views

Cointegration between 2 Stocks. - confirming Times Series Stationarity using ADF & KPSS Test

I had created a google sheet with the help of online resources, - to conduct cointegration test on 2 stocks time series. It checks null hypothesis, to see that a unit root is present on the residual ...
R Upadhyay's user avatar
0 votes
0 answers
29 views

determine if series is non-stationary or stationery

I have series and I need to determine if the series is stationary or non-stationary. According to this web page Link, is prefer to use the ADF and KPSS and then judge on the series. My result of ADF ...
ayla's user avatar
  • 11
0 votes
0 answers
135 views

Stationary in levels I(0), three variables -- cointegration test?

After running ADF-tests and kpss-test I find that the variables are stationary without drift and trend. I have two questions: Is it the correct use of terminology to say that they are not integrated, ...
Tomas R's user avatar
  • 177
0 votes
0 answers
133 views

What to do when kpss contradicts ADF?

I'm testing to see if Inflation has a unit root and if it has a drift and trend, just drift or no drift and trend. My results from the ADF test looks like this: ...
Tomas R's user avatar
  • 177
0 votes
0 answers
115 views

KPSS test and heteroscedasticity

I am trying to transform a time series to make it stationary. After two differencings it looks like this: KPSS test value is 0.01075801 with p-value=0.1, so the stationarity is not rejected. But just ...
Dmitry Shopin's user avatar
0 votes
0 answers
228 views

kpss test always gives a very low P value

I have tried to use kpss.test() function in R, but it's output confused me a lot. So I tried the below code: ...
Yang Kewen's user avatar
0 votes
0 answers
191 views

Can a ratio variable be trend stationary?

Can a ratio variable, e.g. the wage share of factor incomes, really be trend stationary? It is bounded between 0 and 1 and moves in between during long periods, acting like a non-stationary variable. ...
Lars Ahnland's user avatar