Sets the means of the variables.
Namespace:
Imsl.Stat
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
C# |
---|
public virtual void SetMeans( double[] means ) |
Visual Basic (Declaration) |
---|
Public Overridable Sub SetMeans ( _ means As Double() _ ) |
Visual C++ |
---|
public: virtual void SetMeans( array<double>^ means ) |
Parameters
- means
- Type: array<
System..::.Double
>[]()[]
A double array of length nVars+1, where nVars is the number of independent variables. means[0] through means[nVars-1] are the means of the independent variables and means[nVars] is the mean of the dependent variable.
Remarks
This is required when the covariance array is input and the
intercept Intercept is requested. Otherwise, it is
not used.