Hi,
I am calculating the odds ratio of different treatment groups using proc logistic. I tried to do it in two ways: 1. by using estimate statement 2. by not using estimate statement. By just giving the odds option (code below). But I get different results for each option. Can someone tell me the difference between using an estimate statement and not using it in proc logistic?
proc logistic data = final;
class cohort (ref=LAST) tymcdpip / param=ref ;
model anl01fl(event='Y') = cohort tymcdpip / expb;
by segorder;
ods output OddsRatios = odds
ParameterEstimates = pval;
run ;
Where, cohort = treatment group , tymcdpip = covariate, segorder = variable which defines different treatment comparisons as a segment, and anl01fl = responder variable