PRODUCTS
Products Overview
Mathematica
Mathematica for Students
Mathematica Home Edition
Wolfram
CDF Player
(free download)
Computable Document Format (CDF)
web
Mathematica
grid
Mathematica
Wolfram
Workbench
Mathematica
Add-Ons
Wolfram|Alpha Products
SOLUTIONS
Solutions Overview
Engineering
Aerospace Engineering & Defense
Chemical Engineering
Control Systems
Electrical Engineering
Image Processing
Industrial Engineering
Materials Science
Mechanical Engineering
Operations Research
Optics
Petroleum Engineering
Biotechnology & Medicine
Bioinformatics
Medical Imaging
Finance, Statistics & Business Analysis
Actuarial Sciences
Data Analysis & Mining
Econometrics
Economics
Financial Engineering & Mathematics
Financial Risk Management
Statistics
Software Engineering & Content Delivery
Authoring & Publishing
Interface Development
Software Engineering
Web Development
Science
Astronomy
Biological Sciences
Chemistry
Environmental Sciences
Geosciences
Social & Behavioral Sciences
Design, Arts & Entertainment
Game Design, Special Effects & Generative Art
Education
STEM Education Initiative
Higher Education
Community & Technical College Education
Primary & Secondary Education
Students
Technology
Computable Document Format (CDF)
High-Performance & Parallel Computing (HPC)
See Also: Technology Guide
PURCHASE
Online Store
Other Ways to Buy
Volume & Site Licensing
Contact Sales
Software
Service
Upgrades
Training
Books
SUPPORT
Support Overview
Knowledge Base
Learning Center
Community & Forums
Training & Free Seminars
Does My Site Have a License?
Wolfram User Portal
COMPANY
About Wolfram Research
News & Events
Wolfram Blog
Partnerships
Employment Opportunities
History of
Mathematica
Stephen Wolfram's Home Page
Contact Us
OUR SITES
All Sites
Wolfram|Alpha
Demonstrations Project
MathWorld
Integrator
Wolfram Functions Site
Mathematica Journal
Wolfram Media
Wolfram
Tones
Wolfram Science
Stephen Wolfram
DOCUMENTATION CENTER SEARCH
New to
Mathematica
?
Find your learning path
»
Mathematica
>
Data Manipulation
>
Numerical Data
>
Statistical Model Analysis
>
FittedModel
>
Mathematica
>
Data Manipulation
>
Statistical Data Analysis
>
Statistical Model Analysis
>
FittedModel
>
Mathematica
>
Mathematics and Algorithms
>
Statistical Data Analysis
>
Statistical Model Analysis
>
FittedModel
>
BUILT-IN MATHEMATICA SYMBOL
Statistical Model Analysis
Tutorials »
|
LinearModelFit
NonlinearModelFit
GeneralizedLinearModelFit
ProbitModelFit
LogitModelFit
InterpolatingFunction
See Also »
|
Statistical Model Analysis
Summary of New Features in 7.0
New in 7.0: Alphabetical Listing
New in 7.0: Data Manipulation
New in 7.0: Mathematics & Algorithms
More About »
FittedModel
FittedModel
[
...
]
represents the symbolic fitted model obtained from functions like
LinearModelFit
.
MORE INFORMATION
Properties of a fitted model are obtained from
FittedModel
[
...
]["
property
"]
.
FittedModel
[
...
][{
prop
1
,
prop
2
,
...
}]
gives several properties.
FittedModel
[
...
][
x
1
,
...
]
gives the value of the best-fit function at a particular point
, ....
Normal
gives the expression for the best-fit function in a
FittedModel
.
FittedModel
objects are returned by fitting functions such as
LinearModelFit
,
NonlinearModelFit
, and
GeneralizedLinearModelFit
.
FittedModel
[
...
][
prop
,
ann
]
gives the annotation
ann
associated with the property
prop
.
Possible properties available for a given type of fitted model are listed on the pages for functions such as
LinearModelFit
that generate the model.
EXAMPLES
CLOSE 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:
Obtain a
FittedModel
from a nonlinear fitting:
In[1]:=
In[2]:=
Out[2]=
Obtain the functional form from the
FittedModel
object:
In[3]:=
Out[3]=
Evaluate the model at a point:
In[4]:=
Out[4]=
Visualize the fitted function with the data:
In[5]:=
Out[5]=
Extract information about the fitting:
In[6]:=
Out[6]=
Generate noisy data for the same model:
In[1]:=
Plot the data:
In[2]:=
Out[2]=
Fit a model:
In[3]:=
Out[3]=
Visually check the fit:
In[4]:=
Out[4]=
Visually examine the residuals:
In[5]:=
Out[5]=
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:
SEE ALSO
LinearModelFit
NonlinearModelFit
GeneralizedLinearModelFit
ProbitModelFit
LogitModelFit
InterpolatingFunction
TUTORIALS
Statistical Model Analysis
MORE ABOUT
Statistical Model Analysis
Summary of New Features in 7.0
New in 7.0: Alphabetical Listing
New in 7.0: Data Manipulation
New in 7.0: Mathematics & Algorithms
New in 7