BookmarkSubscribeRSS Feed
RobertWF1
Quartz | Level 8

I'm running Gary King's CEM (Coarsened Exact Matching) macro (download here) in the SAS language for a case control study.

 

I'm using the following macro call format:

 

options source2;
%include "D:\Project_Files\Matched_Cohort_Study\CEM_SAS_Macro.sas";

%CEM (
lib = out,
dataset = analysis_data,
id = MEMBER_ID,
treat = A,
keep = X1 X2 X3,
del_miss = 0,
match_type = N,
method = "Sturges",
path_graph = D:\Project_Files\Matched_Cohort_Study\,
report = "on"
);

 

The macro runs without error, but I don't understand the output and there is little documentation to help.

 

Is there a matched output dataset I can use to estimate the average treatment effect on my outcome variable Y?

 

Thanks!

2 REPLIES 2
yabwon
Onyx | Level 15

How about starting wit this link:

https://gking.harvard.edu/pages/contact

?

Bart

_______________
Polish SAS Users Group: www.polsug.com and communities.sas.com/polsug

"SAS Packages: the way to share" at SGF2020 Proceedings (the latest version), GitHub Repository, and YouTube Video.
Hands-on-Workshop: "Share your code with SAS Packages"
"My First SAS Package: A How-To" at SGF2021 Proceedings

SAS Ballot Ideas: one: SPF in SAS, two, and three
SAS Documentation



RobertWF1
Quartz | Level 8
Yes, I'll have to contact Gary King.

I may try running the cem package for R, which is better documented and user friendly.

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
  • 883 views
  • 0 likes
  • 2 in conversation