no attachments. -## Hi, Thanks for the reply. But "count" should be Frequency Weight Variable of "leaf", sp "leaf" should be response, model leaf=site. I try it but this doesnt work. Which I tried as below considering your solution, may I ask to check and if possible adjust the model statement below: Iadded "freq count" to the syntax but it didnt work? data plant; input site $ leaf $ count; datalines; Fa nh 21 Fa sh 0 Fa h 5 Green nh 0 Green sh 0 Green h 16 Ice nh 4 Ice sh 0 Ice h 4 NFM nh 6 NFM sh 13 NFM h 47 NFRB nh 7 NFRB sh 0 NFRB h 15 SF nh 11 SF sh 13 SF h 19 SpM nh 15 SpM sh 2 SpM h 2 SpX nh 8 SpX sh 1 SpX h 0 SW nh 19 SW sh 0 SW h 1 ; proc genmod data=plant ; freq count; class site; model leaf=site / dist=zip type3; zeromodel site/link=logit; estimate 'LogORFaGreen' site 1 -1 0 0 0 0 0 0 0 / exp; run;
... View more