repnormmixEM(x, lambda = NULL, mu = NULL, sigma = NULL, k = 2,
arbmean = TRUE, arbvar = TRUE, epsilon = 1e-08,
maxit = 10000, verb = FALSE)lambda is
random from uniform Dirichlet and number of
components is determined by mu.mu is determined by a
normal distribution according to a binning method done on the data. If both
lambda and mu are NULL, then number of components is determinsigma$^2$ has
random standard exponential entries according to a binning method done on the data.
If lambda, mu, and sigma are NULL, then numbelambda, beta,
and sigma are NULL.mus. If FALSE, then
a scale mixture will be fit.sigmas. If FALSE, then
a location mixture will be fit.repnormmixEM returns a list of class mixEM with items:arbmean = FALSE, then only the smallest standard
deviation is returned. See scale below.arbmean = FALSE, then the scale factor for the component standard deviations is returned.
Otherwise, this is omitted from the output.normalmixEM## EM output for the water-level task data set.
data(Waterdata)
water<-t(as.matrix(Waterdata))
em.out<-repnormmixEM(water, k = 2, verb = TRUE)
em.outRun the code above in your browser using DataLab