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

Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public virtual LinearRegression..::.CaseStatistics GetCaseStatistics(
	double[] x,
	double y,
	int pred
)
Visual Basic (Declaration)
Public Overridable Function GetCaseStatistics ( _
	x As Double(), _
	y As Double, _
	pred As Integer _
) As LinearRegression..::.CaseStatistics
Visual C++
public:
virtual LinearRegression..::.CaseStatistics^ GetCaseStatistics(
	array<double>^ x, 
	double y, 
	int pred
)

Parameters

x
Type: array< System..::.Double >[]()[]
A double array containing the independent (explanatory) variables. Its length must be equal to the number of variables set in the constructor.
y
Type: System..::.Double
A double representing the dependent (response) variable.
pred
Type: System..::.Int32
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