Click or drag to resize
LinearRegressionGetCaseStatistics Method (Double, Double, Double, Int32)
Returns the case statistics for an observation, weight, and future response count for the desired prediction interval.

Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
public virtual LinearRegressionCaseStatistics GetCaseStatistics(
	double[] x,
	double y,
	double w,
	int pred
)

Parameters

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

Return Value

Type: LinearRegressionCaseStatistics
The CaseStatistics for the observation.
See Also