Skip to content

cointReg

0.2.0Package record

Parameter Estimation and Inference in a Cointegrating Regression

1packages dependsuggested by 1
7.5Kdownloads / year
–test coverage
11/13flavors OK

Overview

About

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.

Install

Health

CRAN checks
2NOTE11OK
Check messages
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Philipp Aschersleben <aschersleben@statistik.tu-dortmund.de>’

Found the following URLs which should use \doi (with the DOI name only):
  File ‘cointReg.Rd’:
    http://dx.doi.org/10.2307/2297545
    http://dx.doi.org/10.2307/2298004
    http://dx.doi.org/10.1017/S0266466600004217
    http://dx.doi.org/10.2307/2951763
    http://dx.doi.org/10.1016/j.jeconom.2013.10.015
  File ‘cointRegD.Rd’:
    http://dx.doi.org/10.2307/2298004
    http://dx.doi.org/10.1017/S0266466600004217
    http://dx.doi.org/10.2307/2951763
  File ‘cointRegFM.Rd’:
    http://dx.doi.org/10.2307/2297545
  File ‘cointRegIM.Rd’:
    http://dx.doi.org/10.1016/j.jeconom.2013.10.015
  File ‘getBandwidth.Rd’:
    http://dx.doi.org/10.2307/2938229
    http://dx.doi.org/10.2307/2297912

CRAN check page ↗

Slowest check: 1.2 min · r-oldrel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTENow
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.2.0
READMEYes · 516 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · does not mention 0.2.0Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
16includes a package overview page
Examples that run
100%15 run in a plain check
Exported functions with examples
100%
Documented parameters
89%
Return-value docs
100%
Help pages citing references
31%
Vignettes (1)

Downloads

7.5K
CRAN downloads in the past year
Rank #4,752 · ~20/day · ~623/mo
Daily download trend is not available in this view yet.
77930 days
1.8K90 days
7.5K1 year
Compare downloads with other packages →
Also on108 r2u7 autocran143 c2d4u

Repository

6Stars
2Forks
1Open issues
0Open PRs
2Releases
28Commits
1Commit identities
28 commits · Last activity 2017-01-03 · 0% stars, 30d · Default branch at 0.2.0.9000, ahead of CRAN 0.2.0 (checked 2026-10-25)
Responsiveness
How these are sampled
PRs merged (all time)
not measured
Median days to close, 50 most recently updated closed issues
10
Median days to close, 50 most recently updated closed PRs
not measured

Stars over time

2018-04-11 · 52026-07-07 · 6
PracticesBeta

3 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/aschersleben/cointreg on 2026-10-25.

Continuous integration (2)
Travis CI (config file)AppVeyor
CRAN release process (1)
cran-comments.md
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)

Installing cointReg adds 3 packages (3 with compiled code, 483 KB of source tarballs). Heaviest: checkmate 247 KB, matrixStats 207 KB, backports 29 KB.

Depends (0)
none
Imports (3)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Depends 1
Suggested by 1
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (2)
Author, Maintainer since 0.1.0 (2016)
Author
Author of underlying MATLAB code.
Releases (2)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • 0.2.0Latest
    record
    2016-06-14 · current release · diff ↗
  • 0.1.0
    record
    2016-06-06
  • R
    R 3.3.0 released · 2016-05-03

Package metadata

First published
2016-06-06
Total releases
2 / 10 yrs
License
GPL-3 OSI
Download size
73 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("cointReg")
Aschersleben, P., & Wagner, M. (2016). cointReg: Parameter Estimation and Inference in a Cointegrating Regression (Version 0.2.0) [Computer software]. https://doi.org/10.32614/CRAN.package.cointReg

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for cointReg version 0.2.0 [Data set]. HJJB, LLC. Data release v2026-10-26. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy