Learn R Programming

Epi (version 2.34)

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 )

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.

Value

A glm object, with binomial error and logaritmic link.

See Also

fit.add fit.mult