carx: an R Package to Estimate Censored Autoregressive Time Series with Exogenous Covariates

We implement in the R package carx a novel and computationally efficient quasi-likelihood method for estimating a censored autoregressive model with exogenous covariates. The proposed quasi-likelihood method reduces to maximum likelihood estimation in absence of censoring. The carx package contains many useful functions for practical data analysis with censored stochastic regression, including functions for outlier detection, model diagnostics, and prediction with censored time series data. We illustrate the capabilities of the carx package with simulations and an elaborate real data analysis.

Chao Wang , Kung-Sik Chan
2017-11-27

Supplementary materials

Supplementary materials are available in addition to this article. It can be downloaded at RJ-2017-064.zip

CRAN packages used

censReg, AER, NADA, VGAM, MCMCpack, cents, ARCensReg, carx, xts, TSA

CRAN Task Views implied by cited packages

Survival, TimeSeries, Econometrics, Distributions, Multivariate, Psychometrics, Bayesian, Environmetrics, ExtremeValue, Finance, SocialSciences, SpatioTemporal

Reuse

Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".

Citation

For attribution, please cite this work as

Wang & Chan, "carx: an R Package to Estimate Censored Autoregressive Time Series with Exogenous Covariates ", The R Journal, 2017

BibTeX citation

@article{RJ-2017-064,
  author = {Wang, Chao and Chan, Kung-Sik},
  title = {carx: an R Package to Estimate Censored Autoregressive Time Series with Exogenous Covariates },
  journal = {The R Journal},
  year = {2017},
  note = {https://doi.org/10.32614/RJ-2017-064},
  doi = {10.32614/RJ-2017-064},
  volume = {9},
  issue = {2},
  issn = {2073-4859},
  pages = {213-231}
}