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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
28 views

Stationarity in an interrupted time series

I am using proc autoreg in SAS to conduct an ITS analysis and I have a question about stationarity. Proc autoreg is able to ...
Levi M's user avatar
  • 63
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
3 votes
2 answers
313 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
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
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
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
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
1 vote
1 answer
167 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
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
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
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
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
0 votes
1 answer
720 views

ADF Test and KPSS Test contradicting, differencing wont make the time series stationary

My time series is on Life expectancy at birth from 1960 to 2018. Obviously, it has an increasing trend and ACF also supports this because the ACF values dampen so slowly. However, ADF test p-value is ...
Francis's user avatar
0 votes
1 answer
1k views

KPSS test: p-value greater than 0.05 but test statistic is less than critical values

I am using Python Statsmodels to find out if my time series is stationary or not. My time series (after the first level shift) passed the ADF test and it suggested that the time series is stationary. ...
Julles's user avatar
  • 3
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
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
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
1 vote
1 answer
968 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
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
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
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
0 votes
1 answer
215 views

differencing in sARIMA models

Im currently trying to fit unemployment data to a sARIMA model. Unemployment has usual yearly seasonal trends so a seasonal difference is given. Log transformation is applied to minimize the errors ...
kroneckersdelta's user avatar
2 votes
1 answer
278 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
0 votes
1 answer
111 views

What does my ACF test tell me about numbers to use in ARMA?

Images I want to use an ARMA model for seasonally adjusted quarterly GDP growth figures and then check for structural breaks. I've run an ACF, PACF, kpss and adf test on the data I have, and you can ...
sevus's user avatar
  • 3
0 votes
1 answer
7k views

How to interpret KPSS test

I have been trying to understand the kpss test and I have read this answer and have been reading information from this KPSS Test: Definition and Interpretation , but am still confused about my own ...
Jeff Tilton's user avatar
-1 votes
1 answer
123 views

Arima - Tests detect nonseasonality of time series

I have a following time series: ...
Nikola's user avatar
  • 41
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
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
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
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
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
0 votes
1 answer
626 views

Matlab - kpsstest

If I have: a=randn(100,1) [h,p] = kpsstest(a,'lags',0:10) why does the test fail to reject the nonstationarity hypothesis? It gives back ...
Klapaucius'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
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
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
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
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
1 vote
1 answer
124 views

Fractional Gaussian noise, the KPSS test, and stationarity

Fractional Gaussian noise (fGn) is characterized by the mean ($\mu$), the standard deviation ($\sigma$), and the Hurst index ($H$). It's my understanding that it is stationary, for the simple reason ...
Cyberneurons's user avatar
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
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
0 votes
2 answers
3k views

kpss test in eviews

I am taking 5% critical values for adf pp and za. In kpss test critical value is passing from 1% but not from 5% so is it stationary or not also when take differences of series first and second ...
ylmz's user avatar
  • 3
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