R/discfrail-package.R

##' discfrail: Cox Models for Time-to-Event Data with Nonparametric Discrete Group-Specific Frailties.
##'
##' discfrail: Functions for fitting Cox proportional hazards models for grouped time-to-event data, where the shared group-specific frailties have a discrete nonparametric distribution.
##'
##' The methods are fully described and illustrated in Gasperoni et al. (2018).
##'
##' Groups of individuals are clustered into a number of latent populations of groups, each with a common frailty that is assumed to act multiplicatively on their hazard.   Covariates can be included through proportional hazards, in the manner of the standard Cox model.   The baseline hazard is left unspecified as in the Cox model, and estimation is performed by maximum partial likelihood through an EM algorithm.
##'
##' There are also functions for simulating from these models, and from similar models with a parametric baseline survival function.
##'
##' \code{\link{npdf_cox}} fits nonparametric discrete frailty models.  The number of latent populations of groups can either be fixed, or estimated through an automated model comparison and selection procedure.
##'
##' \code{\link{plot.npdf}} plots fitted survival or cumulative hazard curves from the fitted models.
##'
##' \code{\link{sim_npdf}} simulates from a proportional hazards model with an arbitrary baseline survival distribution and discrete shared frailty terms.
##'
##' \code{\link{sim_weibdf}} simulates from a Weibull survival model with discrete shared frailty terms.
##'
##'
##' @name discfrail-package
##' @aliases discfrail-package discfrail
##' @docType package
##'
##' @references
##' F. Gasperoni, F. Ieva, A.M. Paganoni, C. Jackson, L. Sharples. (2018)
##' Nonparametric frailty Cox models for hierarchical time-to-event data.
##' Biostatistics.
"_PACKAGE"
fgaspe04/discfrail documentation built on May 17, 2019, 7:05 p.m.