LinearOffsetFunction

LinearOffsetFunction

is an option for linear and generalized linear model fitting functions that specifies a component for the model that is to be assumed known.

Details

Examples

open allclose all

Basic Examples  (1)

Fit data to a linear model:

Fit data to a linear model with a known Exp[x] term:

Scope  (3)

Fit data to a generalized linear model:

Fit to a model with a known Sqrt[x] term in the linear predictor:

Fit to a model with a known constant term:

Include a linear offset in a logit model:

A probit model:

Include an offset as a function of multiple variables:

The model fitting a coefficient to the x y term:

Introduced in 2008
 (7.0)