View source: R/COMBO_EM_function.R
COMBO_EM_function | R Documentation |
EM-Algorithm Function for Estimation of the Misclassification Model
COMBO_EM_function(param_current, obs_Y_matrix, X, Z, sample_size, n_cat)
param_current |
A numeric vector of regression parameters, in the order
|
obs_Y_matrix |
A numeric matrix of indicator variables (0, 1) for the observed
outcome |
X |
A numeric design matrix for the true outcome mechanism. |
Z |
A numeric design matrix for the observation mechanism. |
sample_size |
An integer value specifying the number of observations in the sample.
This value should be equal to the number of rows of the design matrix, |
n_cat |
The number of categorical values that the true outcome, |
COMBO_EM_function
returns a numeric vector of updated parameter
estimates from one iteration of the EM-algorithm.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.