SimpleRegressionModel.GetPredictionInterval Method

Definition

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

Overload List

GetPredictionInterval(Double) Gets the prediction interval around the best-fit curve at the specified point.
GetPredictionInterval(Double, Double) Gets the width of the prediction band around the best-fit curve at the specified point.

GetPredictionInterval(Double)

Gets the prediction interval around the best-fit curve at the specified point.
C#
public Interval GetPredictionInterval(
	double x
)

Parameters

x  Double
The point at which to evaluate the bandwidth.

Return Value

Interval
The confidence interval for the prediction at x.

Remarks

This method returns the confidence interval for a new observation at x. This interval is wider than the interval returned by GetConfidenceInterval(Double), which is the interval for the value predicted by the model.

GetPredictionInterval(Double, Double)

Gets the width of the prediction band around the best-fit curve at the specified point.
C#
public Interval GetPredictionInterval(
	double x,
	double confidenceLevel
)

Parameters

x  Double
The point at which to evaluate the bandwidth.
confidenceLevel  Double
The confidence level of the prediction band.

Return Value

Interval
The confidence interval for the prediction at x.

Remarks

This method returns a confidence interval for a new observation at x. This interval is wider than the interval returned by GetConfidenceInterval(Double, Double), which is the interval for the value predicted by the model.

See Also