fit.add | R Documentation |
Utility function.
The model fitted assumes a piecewise constant intensity for the baseline, and that the covariates act additively on the rate scale.
fit.add( y, rates.frame, cov.frame, start )
y |
Binary vector of outcomes |
rates.frame |
Dataframe expanded from the original data by
|
cov.frame |
do., but covariates corresponding to the
|
start |
Starting values for the rate parameters. If not supplied, then starting values are generated. |
A list with one component:
rates |
A glm object from a binomial model with log-link function. |
Martyn Plummer, martyn.plummer@r-project.org
B Carstensen: Regression models for interval censored survival data: application to HIV infection in Danish homosexual men. Statistics in Medicine, 15(20):2177-2189, 1996.
CP Farrington: Interval censored survival data: a generalized linear modelling approach. Statistics in Medicine, 15(3):283-292, 1996.
Icens
fit.mult
data( HIV.dk )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.