Hi all, I working on conducting mediation analysis (linear, logistic, multinomial, and ordinal) using NHANES data that requires inputing survey weights, cluster, and strata. So far, I've been using the code (with macro) from Linda Valeri and Tyler J. VanderWeele, 2013. However, that code doesn't allow me to include the weight, cluster, and strata, and I can only run linear and logistic models. I've been searching for other codes and found the paper by May, Ha, and Soulakova 2019 that can handle survey adjustments, but I am having a hard time learning how to use it, particularly the Fay method that's indicated (code attached). Has anyone dealt with this before or has better suggestions? Thank you, P.S. I am using SAS 9.4
... View more