Utility function.
The model fitted assumes a piecewise constant baseline rate in
intervals specified by the argument breaks
, and a
multiplicative relative risk function.
1 2 
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. 
The model is fitted by alternating between two generalized linear models where one estimates the underlying rates in the intervals, and the other estimates the logrelative risks.
A list with three components:
rates 
A glm object from a binomial model with loglink, estimating the baseline rates. 
cov 
A glm object from a binomial model with complementary loglog link, estimating the lograteratios 
niter 
Nuber of iterations, a scalar 
Martyn Plummer, plummer@iarc.fr, Bendix Carstensen, bxc@steno.dk
B Carstensen: Regression models for interval censored survival data: application to HIV infection in Danish homosexual men. Statistics in Medicine, 15(20):21772189, 1996.
CP Farrington: Interval censored survival data: a generalized linear modelling approach. Statistics in Medicine, 15(3):283292, 1996.
Icens
fit.add
1 2  data( HIV.dk )

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.