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

View source: R/fit.baseline.R

fit.baselineR 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


Epi documentation built on Oct. 1, 2024, 5:07 p.m.

Related to fit.baseline in Epi...