@mkenney wrote:
My data is from a national survey with about 70,000 cases. It has weights to make it nationally representative. I am looking for SAS code to do a mediation analysis that can incorporate the weights. world All the variables in the dataset are categorical. I do not have a version of SAS that has proc causalmed. I have SAS 9.4M3.
Mediation analysis, commonly utilized in social sciences, allows scientists to test if one variable has an effect on another variable through the third variable.