SimpleRegressionModel.GetConfidenceInterval Method

Definition

Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

GetConfidenceInterval(Double) Gets the 95% confidence interval around the best-fit curve at the specified point.
GetConfidenceInterval(Double, Double) 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.
C#
public Interval GetConfidenceInterval(
	double x
)

Parameters

x  Double
The point at which to evaluate the bandwidth.

Return Value

Interval
The 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.
C#
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

Interval
The 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.

See Also