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

Description Usage Arguments Value Author(s) See Also

View source: R/fit.baseline.R

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

1
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 Feb. 28, 2021, 1:06 a.m.

Related to fit.baseline in Epi...