* logit données individuelles ; * logit multinomial ; * http://www.sas.com/offices/europe/france/services/support/doc_techniques/regression_logistique_generalisee_procedure_LOGISTIC.pdf ; *----------------------------------; options formdlim="-"; data in3 ; input reponse genre effectif ; cards ; 1 1 20 2 1 30 3 1 40 4 1 20 1 2 10 2 2 10 3 2 30 4 2 50 ; * régression logistique multinomiale ; *====================================================================*; proc logistic data=in3 ; class genre ; freq effectif ; model reponse = genre / link=Glogit scale=none aggregate; output out=data_out3 p=prob; title3 "Régression logistique multinomiale "; run; proc print data=data_out3; proc freq data=in3 ; weight effectif ; tables genre*reponse/chisq nocol nopercent; title3 "data in3 "; run;