fit.baseline {Epi}R Documentation

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.

Author(s)

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

See Also

fit.add fit.mult


[Package Epi version 2.48 Index]