Usage
test.equality(y, x = NULL, arbmean = TRUE, arbvar = FALSE, mu = NULL, sigma = NULL, beta = NULL, lambda = NULL, ...)
Arguments
y
The responses for regmixEM or the data for normalmixEM.
x
The predictors for regmixEM.
arbmean
If FALSE, then a scale mixture analysis is performed for normalmixEM or regmixEM.
arbvar
If FALSE, then a location mixture analysis is performed for normalmixEM or regmixEM.
mu
An optional vector for starting values (under the null hypothesis) for mu in normalmixEM.
sigma
An optional vector for starting values (under the null hypothesis) for sigma in normalmixEM or regmixEM.
beta
An optional matrix for starting values (under the null hypothesis) for beta in regmixEM.
lambda
An otional vector for starting values (under the null hypothesis) for lambda in normalmixEM or regmixEM.
...
Additional arguments passed to the various EM algorithms for the mixture of interest.