Description Usage Arguments Value
Computes the critical values of the modified EM test.
1 2 | regmixCrit(y, x, parlist, z = NULL, values = NULL, parallel = 1,
cl = NULL, nrep = 1000, ninits.crit = 25)
|
y |
n by 1 vector of data for y |
x |
n by q matrix of data for x |
parlist |
The parameter estimates as a list containing alpha, mu, sigma, and gamma in the form of (alpha = (alpha_1, ..., alpha_m), mu = (mu_1, ..., mu_m), sigma = (sigma_1, ..., sigma_m), gam = (gamma_1, ..., gamma_m)) |
z |
n by p matrix of regressor associated with gamma |
values |
3 by 1 Vector of length 3 (k = 1, 2, 3) at which the p-values are computed |
parallel |
Determines whether package |
cl |
Cluster used for parallelization; if it is |
nrep |
The number of replications used to compute p-values |
ninits.crit |
The number of initial guesses to form critical values |
A list with the following items:
crit |
3 by 3 matrix of (0.1, 0.05, 0.01 critical values), jth row corresponding to k=j |
pvals |
A vector of p-values at k = 1, 2, 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.