FittedModel

FittedModel[]

represents the symbolic fitted model obtained from functions like LinearModelFit.

Details

Examples

open allclose all

Basic Examples  (2)

Obtain a FittedModel from a nonlinear fitting:

Obtain the functional form from the FittedModel object:

Evaluate the model at a point:

Visualize the fitted function with the data:

Extract information about the fitting:

Generate noisy data for the same model:

Plot the data:

Fit a model:

Visually check the fit:

Visually examine the residuals:

Scope  (4)

Extract the short description for a property:

A longer description:

Obtain multiple properties at once:

Plot the actual and predicted response values:

Obtain a FittedModel object for a linear fit:

For a nonlinear fit:

For a generalized linear fit:

For a logit fit:

For a probit fit:

Obtain a list of available properties for a linear model:

Properties vary for different types of models:

Generalizations & Extensions  (1)

Perform other mathematical operations on the functional form of a fitted model:

Integrate symbolically and numerically:

Find a predictor value that gives a particular value for the model:

Introduced in 2008
 (7.0)