View source: R/modi-internal.R
EM.normal | R Documentation |
This version of EM does not contain the computation of the observed sufficient statistics, they will be computed in the main program of BEM and passed as parameters as well as the statistics on the missingness patterns.
EM.normal(
data,
weights = rep(1, nrow(data)),
n = sum(weights),
p = ncol(data),
s.counts,
s.id,
S,
T.obs,
start.mean = rep(0, p),
start.var = diag(1, p),
numb.it = 10,
Estep.output = FALSE
)
data |
matrix or dataframe with data. |
weights |
vector of weights. |
n |
number of rows. |
p |
number of columns. |
s.counts |
s.counts. |
s.id |
s.id. |
S |
S. |
T.obs |
T.obs. |
start.mean |
initial center. |
start.var |
initial variance. |
numb.it |
numb.it. |
Estep.output |
Estep.output. |
Beat Hulliger
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.