Fits semiparametric regression models to panel count data, that is, to recurrent event processes observed only at intermittent examination times, allowing covariates to be time-varying. The proportional rate model is fitted by nonparametric maximum likelihood through an expectation-maximization algorithm under a working Poisson assumption, while inference does not require that assumption to hold; two computationally inexpensive covariance estimators are provided, a robust sandwich estimator that remains consistent when the Poisson assumption fails and an efficient information estimator that is a fast substitute for profile likelihood when it holds, with the profile likelihood estimator available for comparison. The proportional means model is fitted by the estimating equation of Hu, Sun and Wei (2003) <doi:10.1111/1467-9469.00316>. Methods for the rate model are described in Sun, Guo, Li, Tu and Sun (2024) <doi:10.3150/23-BEJ1713>.
| Version: | 0.1.0 |
| Depends: | R (≥ 4.1.0) |
| Imports: | Rcpp, cli, generics, ggplot2, rlang, stats, tibble |
| LinkingTo: | Rcpp, RcppArmadillo |
| Suggests: | testthat (≥ 3.0.0), knitr, rmarkdown |
| Published: | 2026-11-10 |
| DOI: | 10.32614/CRAN.package.pcdreg (may not be active yet) |
| Author: | Dayu Sun |
| Maintainer: | Dayu Sun <dayusun at iu.edu> |
| BugReports: | https://github.com/dayusun/pcdreg/issues |
| License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
| URL: | https://github.com/dayusun/pcdreg, https://www.sundayu.me/pcdreg/ |
| NeedsCompilation: | yes |
| Language: | en-GB |
| Citation: | pcdreg citation info |
| Materials: | README, NEWS |
| CRAN checks: | pcdreg results |
| Reference manual: | pcdreg.html , pcdreg.pdf |
| Vignettes: |
Where pcdreg fits among R packages for panel count data (source, R code) Preparing data and specifying the model (source, R code) Regression analysis of panel count data (source, R code) |
| Package source: | pcdreg_0.1.0.tar.gz |
| Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: not available |
| macOS binaries: | r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available |
Please use the canonical form https://CRAN.R-project.org/package=pcdreg to link to this page.