BookmarkSubscribeRSS Feed
kmwats
Calcite | Level 5

Hi. I am using PROC CAUSALMED for mediation analysis for the first time.

 

I have survey data. Can strata, cluster, and weight options/statements be added in PROC CAUSALMED?

 

I have this but need to add strata, cluster, and weight...

 

proc causalmed data =nhanes.data all;
model mi=dog ;
mediator bmxbmi=dog;
covar age smoker alc_ok dmdeduc2 riagendr;
run;

 

Thanks!

2 REPLIES 2
greveam
Quartz | Level 8

The short answer is yes. You can read more here: https://www.sas.com/content/dam/SAS/support/en/sas-global-forum-proceedings/2018/1991-2018.pdf and/or by accessing the online SAS documentation for proc causal med.

 

Good luck!

kmwats
Calcite | Level 5
I think you mean using PROC PSMATCH for propensity scoring. It does look
like it may work for my data. Thank you!

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1015 views
  • 0 likes
  • 2 in conversation