regmixEM(y, x, lambda = NULL, beta = NULL, sigma = NULL, k = 2,
addintercept = TRUE, arbmean = TRUE, arbvar = TRUE,
epsilon = 1e-08, maxit = 10000, verb = FALSE)
addintercept
below.lambda
is
random from uniform Dirichlet and number of
components is determined by beta
.beta
parameters. Should be a pxk matrix,
where p is the number of columns of x and k is number of components.
If NULL, then beta
has standard normal entries according to a binning method done on the dasigma
^2 has
random standard exponential entries according to a binning method done on the data.
If lambda
, beta
, and sigma
are
NULL, then lambda
, beta
,
and sigma
are NULL.beta
s).sigma
.regmixEM
returns a list of class mixEM
with items:addintercept
= TRUE).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.regcr
, regmixMH
## EM output for NOdata.
data(NOdata)
attach(NOdata)
set.seed(100)
em.out <- regmixEM(Equivalence, NO, verb = TRUE, epsilon = 1e-04)
em.out[3:6]
Run the code above in your browser using DataLab