Regression with Interval-Censored Covariates

Provides functions to simulate and analyze data for a regression model with an interval censored covariate, as described in Morrison et al. (2021) .


rwicc

R buildstatus CRANchecks

rwicc (“Regression With Interval-Censored Covariates”) is an R software package implementing an analysis for a regression model involving an interval-censored covariate, as described in “Regression with Interval-Censored Covariates: Application to Cross-Sectional Incidence Estimation” by Morrison, Laeyendecker, and Brookmeyer (Biometrics, 2021): https://doi.org/10.1111/biom.13472.

This analysis uses a joint model for the distributions of the outcome of interest and the interval-censored covariate, which is treated as a latent variable; the model parameters are estimated by maximum likelihood using an EM algorithm. The submodel used for the distribution of the interval-censored covariate is somewhat specific to the application of interest (estimation of the mean duration of a biomarker-defined window period for cross-sectional incidence estimation), so this package may not be immediately applicable to other problems. We are publishing it with the goal of making the results in our paper easier to reproduce and with the hope that others might adapt pieces of this code for their own applications. Please feel free to contact us with any questions about the code or the paper!

Installation

You can install the current released version from CRAN with:

install.packages("rwicc")

You can install the development version from GitHub with:

install.packages("devtools")
devtools::install_github("d-morrison/rwicc")

Examples of use

See: https://d-morrison.github.io/rwicc/articles/how-to-use-rwicc.html

Code of Conduct

Please note that the rwicc project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("rwicc")

0.2.0 by Douglas Ezra Morrison, 5 months ago


https://d-morrison.github.io/rwicc/, https://github.com/d-morrison/rwicc


Report a bug at https://github.com/d-morrison/rwicc/issues


Browse source code at https://github.com/cran/rwicc


Authors: Douglas Ezra Morrison [aut, cre, cph] (ORCID: , Ron Brookmeyer [aut]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports biglm, dplyr, lubridate, stats, lobstr, arm, ggplot2, scales, plotly, rlang, ggrepel

Suggests spelling, rmarkdown, knitr, testthat, markdown, pander, vdiffr, withr, badger


See at CRAN