Simple Regression Model.Get Confidence Interval Method
Definition
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Get | Gets the 95% confidence interval around the best-fit curve at the specified point. |
Get | Gets the confidence interval around the best-fit curve at the specified point. |
GetConfidenceInterval(Double)
Gets the 95% confidence interval around the best-fit curve at the specified point.
public Interval GetConfidenceInterval(
double x
)
Parameters
- x Double
- The point at which to evaluate the bandwidth.
Return Value
IntervalThe confidence interval for the predicted value at x.
Remarks
This method returns the confidence interval for the value predicted by the model. This interval is more narrow than the interval returned by GetPredictionInterval(Double), which is the interval for a new observation at x.
GetConfidenceInterval(Double, Double)
Gets the confidence interval around the best-fit curve at the specified point.
public Interval GetConfidenceInterval(
double x,
double confidenceLevel
)
Parameters
- x Double
- The point at which to evaluate the bandwidth.
- confidenceLevel Double
- The confidence level of the confidence band.
Return Value
IntervalThe confidence interval for the predicted value at x.
Remarks
This method returns the confidence interval for the value predicted by the model. This interval is more narrow than the interval returned by GetPredictionInterval(Double, Double), which is the interval for a new observation at x.