View source: R/coint.test.PR.R
coint.test.PR | R Documentation |
A set of residual based tests for cointegration
coint.test.PR(y, x, deter, min.lag = 0)
y , x |
Variables of interest. |
deter |
A value equal to
|
min.lag |
A minimum number of lags to be used in the tests. |
The code provided is the original GAUSS code by Perron and Rodríguez ported to R.
A list of:
7x1-matrix of test statistics values,
estimated number of lags.
Perron, Pierre, and Gabriel Rodríguez. “Residuals‐based Tests for Cointegration with Generalized Least‐squares Detrended Data.” The Econometrics Journal 19, no. 1 (February 1, 2016): 84–111. https://doi.org/10.1111/ectj.12056.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.