Linear Curve Fitter<T>.Get Prediction Bandwidth Method
Definition
Namespace: Numerics.NET.Curves.Generic
Assembly: Numerics.NET.Generic (in Numerics.NET.Generic.dll) Version: 9.0.3
Assembly: Numerics.NET.Generic (in Numerics.NET.Generic.dll) Version: 9.0.3
Overload List
Get | Gets the width of the prediction band around the best-fit curve at the specified point at the 95% confidence level. |
Get | Gets the width of the prediction band around the best-fit curve at the specified point. |
GetPredictionBandwidth(T, Double)
Gets the width of the prediction band around the best-fit curve at the specified point.
public override T GetPredictionBandwidth(
T x,
double confidenceLevel
)
Parameters
- x T
- The point at which to evaluate the bandwidth.
- confidenceLevel Double
- The confidence level of the prediction band.
Return Value
TThe distance from the predicted value to the upper or lower prediction band.