Package: pcdreg 0.1.0.9000
pcdreg: Semiparametric Regression for Panel Count Data
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>.
Authors:
pcdreg_0.1.0.9000.tar.gz
pcdreg_0.1.0.9000.zip(r-4.7-x86_64)pcdreg_0.1.0.9000.zip(r-4.7-arm64)pcdreg_0.1.0.9000.zip(r-4.6-x86_64)pcdreg_0.1.0.9000.zip(r-4.6-arm64)pcdreg_0.1.0.9000.zip(r-4.5-x86_64)
pcdreg_0.1.0.9000.tgz(r-4.6-x86_64)pcdreg_0.1.0.9000.tgz(r-4.6-arm64)pcdreg_0.1.0.9000.tgz(r-4.5-x86_64)pcdreg_0.1.0.9000.tgz(r-4.5-arm64)
pcdreg_0.1.0.9000.tar.gz(r-4.7-arm64)pcdreg_0.1.0.9000.tar.gz(r-4.7-x86_64)pcdreg_0.1.0.9000.tar.gz(r-4.6-arm64)pcdreg_0.1.0.9000.tar.gz(r-4.6-x86_64)
pcdreg_0.1.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
pcdreg/json (API)
| # Install 'pcdreg' in R: |
| install.packages('pcdreg', repos = c('https://dayusun.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/dayusun/pcdreg/issues
Pkgdown/docs site:https://www.sundayu.me
em-algorithmpanel-count-datarecurrent-eventssemiparametric-modelsstatisticssurvival-analysisopenblascpp
Last updated from:d0dc0f492a. Checks:15 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 140 | ||
| linux-devel-x86_64 | OK | 161 | ||
| source / vignettes | OK | 243 | ||
| linux-release-arm64 | OK | 134 | ||
| linux-release-x86_64 | OK | 163 | ||
| macos-release-arm64 | OK | 187 | ||
| macos-release-x86_64 | OK | 493 | ||
| macos-oldrel-arm64 | OK | 286 | ||
| macos-oldrel-x86_64 | OK | 574 | ||
| windows-devel-arm64 | OK | 415 | ||
| windows-devel-x86_64 | OK | 267 | ||
| windows-release-arm64 | OK | 405 | ||
| windows-release-x86_64 | OK | 262 | ||
| windows-oldrel-x86_64 | OK | 282 | ||
| wasm-release | OK | 119 |
Exports:augmentautoplotbaselineglanceis.pcdpcdpcdregpcdreg_controlsim_pcdtidy
Dependencies:clicpp11farvergenericsggplot2gluegtableisobandlabelinglifecyclemagrittrpillarpkgconfigR6RColorBrewerRcppRcppArmadillorlangS7scalestibbleutf8vctrsviridisLitewithr
Last update: 2026-08-13
Started: 2026-08-12
Last update: 2026-08-12
Started: 2026-08-12
Last update: 2026-08-12
Started: 2026-08-12
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Plot panel count data | autoplot.pcd plot.pcd |
| Plot the estimated baseline function | autoplot.pcdfit plot.pcdfit |
| Estimated baseline function | baseline baseline.pcdfit |
| Test for a panel count response | is.pcd |
| Describe panel count observations | pcd |
| Semiparametric regression for panel count data | pcdreg |
| Tuning parameters for the fitting algorithms | pcdreg_control |
| Tidy a panel count model fit | augment.pcdfit glance.pcdfit pcdreg-tidiers tidy.pcdfit |
| Predictions from a panel count model | predict.pcdfit |
| Simulate panel count data with a time-varying covariate | sim_pcd |
| Summarise a fitted panel count model | summary.pcdfit |
| Covariance matrix of the estimated coefficients | vcov.pcdfit |
