Click or drag to resize
DiscriminantAnalysisSetPrior Method
Specifies user supplied prior probabilities.

Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
public void SetPrior(
	double[] prior
)

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