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.StatAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public virtual LinearRegressionCaseStatistics GetCaseStatistics(
double[] x,
double y,
double w,
int pred
)
Public Overridable Function GetCaseStatistics (
x As Double(),
y As Double,
w As Double,
pred As Integer
) As LinearRegressionCaseStatistics
public:
virtual LinearRegressionCaseStatistics^ GetCaseStatistics(
array<double>^ x,
double y,
double w,
int pred
)
abstract GetCaseStatistics :
x : float[] *
y : float *
w : float *
pred : int -> LinearRegressionCaseStatistics
override GetCaseStatistics :
x : float[] *
y : float *
w : float *
pred : int -> LinearRegressionCaseStatistics
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