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
- 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.
Examples
open allclose allBasic 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:
Related Guides
History
Text
Wolfram Research (2008), LinearOffsetFunction, Wolfram Language function, https://reference.wolfram.com/language/ref/LinearOffsetFunction.html.
CMS
Wolfram Language. 2008. "LinearOffsetFunction." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/LinearOffsetFunction.html.
APA
Wolfram Language. (2008). LinearOffsetFunction. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/LinearOffsetFunction.html
BibTeX
@misc{reference.wolfram_2025_linearoffsetfunction, author="Wolfram Research", title="{LinearOffsetFunction}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/LinearOffsetFunction.html}", note=[Accessed: 25-April-2025 ]}
BibLaTeX
@online{reference.wolfram_2025_linearoffsetfunction, organization={Wolfram Research}, title={LinearOffsetFunction}, year={2008}, url={https://reference.wolfram.com/language/ref/LinearOffsetFunction.html}, note=[Accessed: 25-April-2025 ]}