Returns a confidence interval for the value of the dependent variable
predicted by the model for the given set of predictor values.
Namespace:
CenterSpace.NMath.StatsAssembly: NMathStats (in NMathStats.dll) Version: 3.4.0.0
Syntax
| C# |
|---|
public Interval PredictionInterval( DoubleVector x, double confidenceLevel ) |
| Visual Basic (Declaration) |
|---|
Public Function PredictionInterval ( _ x As DoubleVector, _ confidenceLevel As Double _ ) As Interval |
| Visual C++ |
|---|
public: Interval^ PredictionInterval( DoubleVector^ x, double confidenceLevel ) |
Parameters
- x
- Type: CenterSpace.NMath.Core..::.DoubleVector
A set of predictor values.
- confidenceLevel
- Type: System..::.Double
The confidence level for the interval expressed as a decimal. For example, if a 95% confidence level is desired, pass in a value of 0.95 for this paramter.