No.14683¡¡SAS¤Ç¤ÎMantel-Haenszel¸¡Äê¤ÈCochran-Mantel-Haenszel¸¡Äê¡¡¡¡¡Ú¤«¤ä¤Þ¡Û¡¡2011/05/25(Wed) 15:19

°Ê²¼¤Î¤è¤¦¤Ë»ØÄꤵ¤ì¤¿¾ì¹ç¤ÎSAS¥×¥í¥°¥é¥àµÚ¤Ó·ë²Ì¤Î¸«Êý¤Ë¤Ä¤¤¤Æ¶µ¤¨¤Æ¤¯¤À¤µ¤¤¡£

-------------

­¡¤¢¤ë¥¹¥³¥¢(5Ãʳ¬)¤ò2·²¤ÇÈæ³Ó¤¹¤ëºÝ¤Ë¡Ö´µ¼Ô°ø»ÒA(3¥«¥Æ¥´¥ê)¡×¤ÇÄ´À°¤·¤¿Cochran-Mantel-Haenszel¸¡Äê¤ò¹Ô¤¦¡£

proc freq data=DATA;
table ´µ¼Ô°ø»ÒA*·²*¥¹¥³¥¢ / cmh;
run;

¤Ç¤è¤¤¤«¤È»×¤Ã¤Æ¤¤¤Þ¤¹¡£
pÃͤÏÆä˻ØÄ꤬¤Ê¤±¤ì¤Ð¡ÖÁê´ØÅý·×Î̡פΤȤ³¤í¤ò¸«¤ì¤Ð¤è¤¤¤Ç¤·¤ç¤¦¤«¡©

-------------

­¢¤¢¤ëȯ¸½Î¨¤ò2·²¤ÇÈæ³Ó¤¹¤ëºÝ¤Ë¡Ö´µ¼Ô°ø»ÒA(3¥«¥Æ¥´¥ê)¡×¤ÇÄ´À°¤·¤¿Mantel-Haenszel¸¡Äê¤ò¹Ô¤¦¡£

proc freq data=DATA;
table ´µ¼Ô°ø»ÒA*·²*¥¹¥³¥¢ / chisq;
run;

¤Ç¡¡ Mantel-Haenszel ¤Î¥«¥¤ 2 ¾èÃÍ¡¡¤Ï½Ð¤Þ¤¹¤¬¡¤ÇØ·Ê°ø»ÒËè¤Ë½ÐÎϤµ¤ì¤Æ¤¤¤Þ¤¹¡£
pÃͤ¬3¤Ä¤Ë¤Ê¤ê¤Þ¤¹¤¬¡¤3¤Ä½ñ¤±¤È¤¤¤¦¤³¤È¤Ê¤Î¤Ç¤·¤ç¤¦¤«¡©

-------------

´ðËÜŪ¤Ê¤³¤È¤Ç¤¹¤ß¤Þ¤»¤ó¤¬¶µ¤¨¤Æ¤¯¤À¤µ¤¤¡£

No.14685¡¡Re: SAS¤Ç¤ÎMantel-Haenszel¸¡Äê¤ÈCochran-Mantel-Haenszel¸¡Äê¡¡¡¡¡ÚÀÄÌÚÈË¿­¡Û¡¡2011/05/25(Wed) 21:42

¤¢¤ëÌäÂê¤ò²ò¤¯¤¿¤á¤Ë¥³¥ó¥Ô¥å¡¼¥¿¥×¥í¥°¥é¥à¤ò»È¤¦¤È¤¤¤¦¾ì¹ç¡¤¤½¤ÎÇطʤˤ¢¤ëÍýÏÀ¤Ï½½Ê¬¤ËÍý²ò¤µ¤ì¤Æ¤¤¤Æ¡¤¾ì¹ç ¤Ë¤è¤Ã¤Æ¤Ï¼«Ê¬¤ÇÅÅÂî¤Ê¤ê¥³¥ó¥Ô¥å¡¼¥¿¤Ê¤ê¤ò»È¤Ã¤Æ·×»»¤ò¤·¤Æ¡¤·ëÏÀ¤òƳ¤¯¤³¤È¤¬¤Ç¤­¤ë¤È¤¤¤¦¤³¤È¤¬´üÂÔ¤µ¤ì¤Æ¤¤¤ë¤È»×¤¤¤Þ¤¹¡£¤½¤¦¤Ç¤Ï¤Ê¤¯¤Æ¤â¡¤¤¢¤ë»î ¸³¥Ç¡¼¥¿¤¬¤¢¤Ã¤Æ¡¤¤½¤ì¤òÌÜŪ¤Î¸¡Äê¼êË¡¤ò»È¤Ã¤¿¤È¤­¤Ë¤É¤Î¤è¤¦¤Ê·×»»·ë²Ì¤Ë¤Ê¤Ã¤Æ¡¤¤½¤ì¤¬¤É¤Î¤è¤¦¤Ë²ò¼á¤µ¤ì¤ë¤È¸À¤¦¤³¤È¤¬Ê¬¤«¤ëÎãÂê¤Ê¤ê¤¬Â¸ºß¤¹¤ë¤È »×¤¤¤Þ¤¹¡Ê¤½¤¦¤Ç¤Ê¤±¤ì¤Ð¡¤ÆɼԤ¬¼«Ê¬¤ÎÌäÂê¤òÀµ¤·¤¯²ò·è¤Ç¤­¤ëÊݾڤ¬¤Ê¤¤¤¸¤ã¤¢¤Ê¤¤¤Ç¤¹¤«¡Ë¡£¼«Ê¬¤Ç³Î¤«¤á¤é¤ì¤Ê¤¤¤«¤é¡¤Ã¯¤«³Î¤«¤á¤Æ¡ª¤È¤¤¤¦¤Î¤Ï¡¤¤É ¤¦¤Ê¤ó¤Ç¤·¤ç¤¦¤«¤Í¤¨¡£Ã¯¤«¤¬³Î¤«¤á¤Æ¤¯¤ì¤¿¤È¤·¤Æ¡¤¤½¤ì¤¬Àµ¤·¤¤¤È¤¤¤¦¤³¤È¤ò¤¢¤Ê¤¿¤Ï¤É¤Î¤è¤¦¤Ë¤·¤Æ³Îǧ¤Ç¤­¤ë¤Î¤Ç¤·¤ç¤¦¤«¡©
¼«Ê¬¤Ëʬ¤«¤é¤Ê¤¤¼êË¡¡¦¥³¥ó¥Ô¥å¡¼¥¿¥×¥í¥°¥é¥à¤Ï»È¤ï¤Ê¤¤Êý¤¬¤è¤¤¤È»×¤¤¤Þ¤¹¤±¤É¡£
¸¦µæ¤ä¶È̳¤ÇÍøÍѤ¹¤ë¾ì¹ç¡Ê¸å¼Ô¤ÏÆäˡˤϡ¤ÀäÂоò·ï¤Ç¤·¤ç¤¦¡£

¡ü ¡ÖÅý·×³Ø´ØÏ¢¤Ê¤ó¤Ç¤â¤¢¤ê¡×¤Î²áµî¥í¥°--- 044 ¤ÎÌܼ¡¤Ø¥¸¥ã¥ó¥×
¡ü ¡ÖÅý·×³Ø´ØÏ¢¤Ê¤ó¤Ç¤â¤¢¤ê¡×¤ÎÌܼ¡¤Ø¥¸¥ã¥ó¥×
¡ü ľÁ°¤Î¥Ú¡¼¥¸¤ØÌá¤ë