Description Usage Arguments Value Examples
E-Step estimate the parameter of mu.
1 |
data |
Contingency table, matrix format of three columns, first column lower limits, second column upper limits, and third column observed frequencies. The current state of the parameters, vector containing mean and sd. |
simz |
The matrix, which is the samples simulated over the intervals, of the zmcem function. |
Return mu which are the estimates of mean in E-step.
1 2 3 4 5 6 7 8 9 10 11 12 | simdataaaa <- em.univ::univ_simul(ncol_matrix=1,
n=50,
nclass = 10,
mean = 68,
sd = 1.80,
fr_breaks=c(62,64,66,68,70,72,74,76,78))
zm_matriz <- em.univ::zmcem(theta=c(67,2),data = simdataaaa$simul_data[,,1])
mu_estimate <- em.univ::mumcem(data = simdataaaa$simul_data[,,1],
simz = zm_matriz)
mu_estimate
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.