IMSL C# Numerical Library

LinearRegression.GetCaseStatistics Method (Double[], Double, Int32)

Returns the case statistics for an observation and future response count for the desired prediction interval.

public virtual CaseStatistics GetCaseStatistics(
   double[] x,
   double y,
   int pred
);

Parameters

x
A double array containing the independent (explanatory) variables. Its length must be equal to the number of variables set in the constructor.
y
A double representing the dependent (response) variable.
pred
An int representing the number of future responses for which the prediction interval is desired on the average of the future responses.

Return Value

The CaseStatistics for the observation.

See Also

LinearRegression Class | Imsl.Stat Namespace | LinearRegression.GetCaseStatistics Overload List