Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Data Manipulation > Numerical Data > Statistical Model Analysis > ConfidenceLevel >
Mathematica > Data Manipulation > Statistical Data Analysis > Statistical Model Analysis > ConfidenceLevel >
Mathematica > Mathematics and Algorithms > Statistical Data Analysis > Statistical Model Analysis > ConfidenceLevel >

ConfidenceLevel

ConfidenceLevel
is an option for LinearModelFit and other fitting functions that specifies the confidence level to use in generating parameter and prediction intervals.
  • ConfidenceLevel affects values of properties related to confidence intervals such as and .
  • The default setting gives 95% confidence intervals.
  • The value should be a number between 0 and 1.
  • For certain types of models, FittedModel[...][prop, ConfidenceLevel->c] can be used to extract properties for a specified confidence level. »
Obtain default 95% confidence intervals:
Use 99% intervals instead:
Obtain default 95% confidence intervals:
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=
Use 99% intervals instead:
In[4]:=
Click for copyable input
Out[4]=
In[5]:=
Click for copyable input
Out[5]=
Set the level after fitting:
Set confidence level for a nonlinear model:
Using the usual default level:
For a generalized linear model:
Fit some data:
Obtain confidence intervals at several levels for comparison:
ConfidenceLevel affects all confidence intervals in FittedModel properties:
Intervals using default 95% level:
Intervals using 99% level:
New in 7
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF