cointReg

Parameter Estimation and Inference in a Cointegrating Regression

CRAN Package

Cointegration methods are widely used in empirical macroeconomics and empirical finance. It is well known that in a cointegrating regression the ordinary least squares (OLS) estimator of the parameters is super-consistent, i.e. converges at rate equal to the sample size T. When the regressors are endogenous, the limiting distribution of the OLS estimator is contaminated by so-called second order bias terms, see e.g. Phillips and Hansen (1990) doi:10.2307/2297545. The presence of these bias terms renders inference difficult. Consequently, several modifications to OLS that lead to zero mean Gaussian mixture limiting distributions have been proposed, which in turn make standard asymptotic inference feasible. These methods include the fully modified OLS (FM-OLS) approach of Phillips and Hansen (1990) doi:10.2307/2297545, the dynamic OLS (D-OLS) approach of Phillips and Loretan (1991) doi:10.2307/2298004, Saikkonen (1991) doi:10.1017/S0266466600004217 and Stock and Watson (1993) doi:10.2307/2951763 and the new estimation approach called integrated modified OLS (IM-OLS) of Vogelsang and Wagner (2014) doi:10.1016/j.jeconom.2013.10.015. The latter is based on an augmented partial sum (integration) transformation of the regression model. IM-OLS is similar in spirit to the FM- and D-OLS approaches, with the key difference that it does not require estimation of long run variance matrices and avoids the need to choose tuning parameters (kernels, bandwidths, lags). However, inference does require that a long run variance be scaled out. This package provides functions for the parameter estimation and inference with all three modified OLS approaches. That includes the automatic bandwidth selection approaches of Andrews (1991) doi:10.2307/2938229 and of Newey and West (1994) doi:10.2307/2297912 as well as the calculation of the long run variance.

  • Version0.2.0
  • R versionunknown
  • LicenseGPL-3
  • Needs compilation?No
  • Last release06/14/2016

Documentation


Team


Insights

Last 30 days

This package has been downloaded 398 times in the last 30 days. Now we're getting somewhere! Enough downloads to populate a lively group chat. The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 17 times.

Sun
Mon
Tue
Wed
Thu
Fri
Sat
0 downloadsMar 2, 2025
0 downloadsMar 3, 2025
19 downloadsMar 4, 2025
29 downloadsMar 5, 2025
16 downloadsMar 6, 2025
15 downloadsMar 7, 2025
7 downloadsMar 8, 2025
6 downloadsMar 9, 2025
6 downloadsMar 10, 2025
15 downloadsMar 11, 2025
10 downloadsMar 12, 2025
13 downloadsMar 13, 2025
6 downloadsMar 14, 2025
9 downloadsMar 15, 2025
13 downloadsMar 16, 2025
13 downloadsMar 17, 2025
11 downloadsMar 18, 2025
19 downloadsMar 19, 2025
18 downloadsMar 20, 2025
17 downloadsMar 21, 2025
7 downloadsMar 22, 2025
12 downloadsMar 23, 2025
17 downloadsMar 24, 2025
18 downloadsMar 25, 2025
11 downloadsMar 26, 2025
12 downloadsMar 27, 2025
13 downloadsMar 28, 2025
8 downloadsMar 29, 2025
20 downloadsMar 30, 2025
7 downloadsMar 31, 2025
14 downloadsApr 1, 2025
17 downloadsApr 2, 2025
0 downloadsApr 3, 2025
0 downloadsApr 4, 2025
0 downloadsApr 5, 2025
6
29

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Last 365 days

This package has been downloaded 5,081 times in the last 365 days. That's a lot of interest! Someone might even write a blog post about it. The day with the most downloads was Oct 31, 2024 with 84 downloads.

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Data provided by CRAN


Binaries


Dependencies

  • Imports3 packages
  • Suggests3 packages
  • Reverse Depends1 package
  • Reverse Suggests1 package