LinearRegression.GetCaseStatistics 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
Syntaxpublic virtual LinearRegression. CaseStatistics 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 LinearRegression.CaseStatistics
public:
virtual LinearRegression. CaseStatistics^ GetCaseStatistics(
array<double>^ x,
double y,
double w,
int pred
)
abstract GetCaseStatistics :
x : float[] *
y : float *
w : float *
pred : int -> LinearRegression. CaseStatistics
override GetCaseStatistics :
x : float[] *
y : float *
w : float *
pred : int -> LinearRegression. CaseStatistics
Parameters
- x
- Type: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.
- w
- Type: System.Double
A double representing the weight.
- 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
Type:
LinearRegression.CaseStatistics
The
CaseStatistics for the observation.
See Also