150 PRINT:PRINT:PRINT TAB(29);"ODDS RATIO = ";:IF SB=0 THEN PRINT "not calculable":GOTO 160
155 XO=SA/SB:XP=1.96/SQR(X):PRINT XO;TAB(14);"95% Confidence limits: ";EXP((1-XP)*LOG(XO));" and ";EXP((1+XP)*LOG(XO))
160 LOCATE 25,8:INPUT;"Do you want to calculate another Mantel-Haenszel Chi-square? ",A$:IF A$="y" OR A$="Y" THEN 20
165 GOTO 3000
170 GOSUB 4800:I=VAL(IP$):IF INT(I)=I THEN RETURN ELSE BEEP:LOCATE 25,15:PRINT "Please enter integers only.";:LOCATE AR,AC:PRINT " ":GOTO 170
5000 BEEP:IF ERR<>53 AND ERR<>71 THEN 5010 ELSE LOCATE 2,10:PRINT "Please place EPISTAT in drive A: (or other default).":PRINT TAB(25);"Press any key to continue:"