BookmarkSubscribeRSS Feed
JJ_83
Obsidian | Level 7

I am working with a matched case control dataset and I am running the following proc logistic procedure. 

 

proc logistic descending data = data;
	strata newgroup;
	model new_case = exp;
run; 

newgroup is the matching variable. 

new_case is the binary outcome variable (1/0). 

exp is the binary exposure variable (1/0). 

 

I am trying to replicate results that my coworker did in stata.

 

So my first question is:

  1. How can I run logistic regression in sas with robust or cluster standard errors?
  2. What kind of standard errors does proc logistic use? (I am assuming it is not robust or cluster)

 

My apologies if these are really stupid questions!

2 REPLIES 2
Reeza
Super User
I think you want a CLASS statement for your categorical variable as well.

SAS Procedures are very well documented, did you review the documentation and not find what you were looking for?
https://documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.5&docsetId=statug&docsetTarget=statu...

JJ_83
Obsidian | Level 7

Yes, I posted because I have not been able to find any answers through the documentation.