INPUT PROGRAM. LOOP df = 1 TO 10. COMPUTE x_05=IDF.CHISQ(.95,df). COMPUTE x_01=IDF.CHISQ(.99,df). END CASE. COMPUTE df=df+1. END LOOP. END FILE. END INPUT PROGRAM. LIST.
DF X_05 X_01 1.00 3.84 6.63 2.00 5.99 9.21 3.00 7.81 11.34 4.00 9.49 13.28 5.00 11.07 15.09 6.00 12.59 16.81 7.00 14.07 18.48 8.00 15.51 20.09 9.00 16.92 21.67 10.00 18.31 23.21 Number of cases read: 10 Number of cases listed: 10