Proc Genmod Estimate statement

  • Follow


Hi everyone,

I'm trying to estimate odds ratios in proc genmod, and don't
understand how to choose the effect values in the 'estimate'
statement.  In the below code, using the effects values -1 and 1 seems
to produce the odds ratio I want that compares the effect of
finaldef=1 versus finaldef=0.  (finaldef just has values 0 and 1).
Can anyone explain how these effect values work?  How do you choose
effects for a variable with more than two levels?

Thanks for your help!

proc genmod data=analysis descending;
	class finaldef(ref='0') trend(ref='0')  baseid;
	model crum= finaldef trend / dist=binomial link=logit;
	repeated subject=baseid/ type=exch;
	estimate "Finaldef" finaldef -1 1/exp;
	run;
0
Reply Native 2/9/2011 9:09:18 PM


0 Replies
629 Views

(page loaded in 0.023 seconds)

Similiar Articles:













7/22/2012 1:09:54 PM


Reply: