Note: before using this routine, please read the Users' Note for your implementation to check the interpretation of bold italicised terms and other implementation-dependent details.
On entry: if all available variables are included in the model and ISX is not referenced; otherwise the th variable will be included in the analysis if and excluded if , for .
On exit: gives the -variate Normal (Gaussian) density of the th object in the th group.
20: TOL – REAL (KIND=nag_wp)Input
On entry: iterations cease the first time an improvement in log-likelihood is less than TOL. If a value of is used.
21: LOGLIK – REAL (KIND=nag_wp)Output
On exit: the log-likelihood for the fitted mixture model.
22: IFAIL – INTEGERInput/Output
On entry: IFAIL must be set to , . If you are unfamiliar with this parameter you should refer to Section 3.3 in the Essential Introduction for details.
For environments where it might be inappropriate to halt program execution when an error is detected, the value is recommended. If the output of error messages is undesirable, then the value is recommended. Otherwise, if you are not familiar with this parameter, the recommended value is . When the value is used it is essential to test the value of IFAIL on exit.
On exit: unless the routine detects an error or a warning has been flagged (see Section 6).
6 Error Indicators and Warnings
If on entry or , explanatory error messages are output on the current error message unit (as defined by X04AAF).
Errors or warnings detected by the routine:
On entry, and .
Constraint: , the number of parameters, i.e., too few objects have been supplied for the model.