Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

fit.add

Fit an addive excess risk model to interval censored data.


Description

Utility function.

The model fitted assumes a piecewise constant intensity for the baseline, and that the covariates act additively on the rate scale.

Usage

fit.add( y, rates.frame, cov.frame, start )

Arguments

y

Binary vector of outcomes

rates.frame

Dataframe expanded from the original data by expand.data, cooresponding to covariates for the rate parameters.

cov.frame

do., but covariates corresponding to the formula argument of Icens

start

Starting values for the rate parameters. If not supplied, then starting values are generated.

Value

A list with one component:

rates

A glm object from a binomial model with log-link function.

Author(s)

References

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.

See Also

Examples

data( HIV.dk )

Epi

Statistical Analysis in Epidemiology

v2.44
GPL-2
Authors
Bendix Carstensen [aut, cre], Martyn Plummer [aut], Esa Laara [ctb], Michael Hills [ctb]
Initial release
2021-02-28

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.