This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

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