FittedModel

FittedModel[]
represents the symbolic fitted model obtained from functions like LinearModelFit.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Obtain a FittedModel from a nonlinear fitting:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=

Obtain the functional form from the FittedModel object:

In[3]:=
Click for copyable input
Out[3]=

Evaluate the model at a point:

In[4]:=
Click for copyable input
Out[4]=

Visualize the fitted function with the data:

In[5]:=
Click for copyable input
Out[5]=

Extract information about the fitting:

In[6]:=
Click for copyable input
Out[6]=

Generate noisy data for the same model:

In[1]:=
Click for copyable input

Plot the data:

In[2]:=
Click for copyable input
Out[2]=

Fit a model:

In[3]:=
Click for copyable input
Out[3]=

Visually check the fit:

In[4]:=
Click for copyable input
Out[4]=

Visually examine the residuals:

In[5]:=
Click for copyable input
Out[5]=
Introduced in 2008
(7.0)