loglik {COMBO} | R Documentation |
Expected Complete Data Log-Likelihood Function for Estimation of the Misclassification Model
Description
Expected Complete Data Log-Likelihood Function for Estimation of the Misclassification Model
Usage
loglik(param_current, obs_Y_matrix, X, Z, sample_size, n_cat)
Arguments
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 |
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, |
Value
loglik
returns the negative value of the expected log-likelihood function,
,
at the provided inputs.