* Program to compute the chi-square distribution function. * Find the probability (CHI-SQUARE<3) with 1 degree of freedom SAMPLE 1 1 GEN1 C=3 DISTRIB C / TYPE=CHI DF=1 * Now use the Davies algorithm GEN1 DF=1 GEN1 LAMB=1 DISTRIB C / TYPE=DAVIES N=1 DFVEC=DF LAM=LAMB STOP