Correcting Misclassified Mediation Analysis
EM Algorithm Function for Estimation of the Misclassification Model
EM Algorithm Function for Estimation of the Misclassification Model
EM Algorithm Function for Estimation of the Misclassification Model
EM Algorithm Function for Estimation of the Misclassification Model
EM Algorithm Function for Estimation of the Misclassification Model
Predictive Value Weighting Estimation of the Binary Mediator Misclassi...
EM-Algorithm Estimation of the Binary Outcome Misclassification Model
EM-Algorithm Function for Estimation of the Misclassification Model
EM Algorithm Function for Estimation of the Misclassification Model
Compute E-step for Binary Outcome Misclassification Model Estimated Wi...
Generate Bootstrap Samples for Estimating Standard Errors
Generate Data to use in COMMA Functions
Estimate Bootstrap Standard Errors using EM
EM Algorithm Estimation of the Binary Mediator Misclassification Model
Estimate Bootstrap Standard Errors using OLS
Ordinary Least Squares Estimation of the Binary Mediator Misclassifica...
Estimate Bootstrap Standard Errors using PVW
Compute Conditional Probability of Observed Mediator Given True Mediat...
Compute Probability of Each True Outcome, for Every Subject
Compute Conditional Probability of Each Observed Outcome Given Each Tr...
Sum Every "n"th Element
Sum Every "n"th Element, then add 1
Likelihood Function for Normal Outcome Mechanism with a Binary Mediato...
Likelihood Function for Normal Outcome Mechanism with a Binary Mediato...
Compute Probability of Each True Mediator, for Every Subject
Compute E-step for Binary Mediator Misclassification Model Estimated W...
Compute E-step for Binary Mediator Misclassification Model Estimated W...
Compute E-step for Binary Mediator Misclassification Model Estimated W...
Use three methods to estimate parameters from a mediation analysis with a binary misclassified mediator. These methods correct for the problem of "label switching" using Youden's J criteria. A detailed description of the analysis methods is available in Webb and Wells (2024), "Effect estimation in the presence of a misclassified binary mediator" <doi:10.48550/arXiv.2407.06970>.