Learn R Programming

Epi (version 2.50)

fit.baseline: Fit a piecewise contsnt intesity model for interval censored data.

Description

Utility function

Fits a binomial model with logaritmic link, with y as outcome and covariates in rates.frame to estimate rates in the inttervals between breaks.

Usage

fit.baseline( y, rates.frame, start )

Value

A glm object, with binomial error and logaritmic link.

Arguments

y

Binary vector of outcomes

rates.frame

Dataframe expanded from the original data by expand.data

start

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

Author

Martyn Plummer, martyn.plummer@r-project.org

See Also

fit.add fit.mult