sllnorMmix {norMmix} | R Documentation |
sllnorMmix()
returns a number, the log-likelihood of the data
x
, given a normal mixture obj
.
sllnorMmix(x, obj)
x |
data |
obj |
an R object of class |
Calculates log-likelihood of a dataset, x, given a normal mixture model;
just a simplified wrapper for llnorMmix
.
Removes functionality in favor of ease of use.
double
. See description.
set.seed(2019)
x <- rnorMmix(400, MW27)
sllnorMmix(x, MW27) # -1986.315