Skip to main content

explore.says_stationary()

Whether a test’s p-value says stationary at alpha.

Usage

Source

explore.says_stationary(
    test,
    pvalue,
    alpha,
)

ADF, DFGLS and Phillips-Perron test a unit-root null, so they say stationary when pvalue < alpha; KPSS tests a stationarity null, so it says stationary when pvalue >= alpha. A NaN p-value says nothing.