naive_loglik_2stage {COMBO} | R Documentation |
Observed Data Log-Likelihood Function for Estimation of the Naive Two-Stage Misclassification Model
Description
Observed Data Log-Likelihood Function for Estimation of the Naive Two-Stage Misclassification Model
Usage
naive_loglik_2stage(
param_current,
X,
V,
obs_Ystar_matrix,
obs_Ytilde_matrix,
sample_size,
n_cat
)
Arguments
param_current |
A numeric vector of regression parameters, in the order
|
X |
A numeric design matrix for the first-stage observed mechanism. |
V |
A numeric design matrix for the second-stage observed mechanism. |
obs_Ystar_matrix |
A numeric matrix of indicator variables (0, 1) for the first-stage observed
outcome |
obs_Ytilde_matrix |
A numeric matrix of indicator variables (0, 1) for the second-stage observed
outcome |
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 first- and second-stage outcomes,
|
Value
naive_loglik_2stage
returns the negative value of the observed data log-likelihood function,
,
at the provided inputs.