Statistical Procedures

Programming the statistical procedures from SAS
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-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

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