is an option for linear and generalized linear model fitting functions that specifies a component for the model that is to be assumed known.
- LinearOffsetFunction is an option for LinearModelFit, GeneralizedLinearModelFit, LogitModelFit, and ProbitModelFit.
- LinearOffsetFunction->func specifies that the model to be fitted should have a linear predictor of the form func[x1,x2,…]+β0+β1 f1+β2 f2+⋯.
- LinearOffsetFunction defines a known component of the linear predictor for each data point.
Examplesopen allclose all
Basic Examples (1)
Fit data to a linear model with a known Exp[x] term:
Fit to a model with a known Sqrt[x] term in the linear predictor: