DiscriminantAnalysisSetPrior Method |
Specifies user supplied prior probabilities.
Namespace: Imsl.StatAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public void SetPrior(
double[] prior
)
Public Sub SetPrior (
prior As Double()
)
public:
void SetPrior(
array<double>^ prior
)
member SetPrior :
prior : float[] -> unit
Parameters
- prior
- Type: SystemDouble
A double array of length
nGroups containing the prior probabilities
for each group.
Remarks
The elements of prior should sum to 1.0.
If the values of prior are less than 1.0e-20,
they will be converted to Math.Log(1.0e-20).
Default: The prior probablities are calculated to be
equal, see property PriorType.
See Also