#
# chi-squared.txt,  7 May 10

# Algorithm AS 91   Appl. Statist. (1975) Vol.24, P.35
# Incorporates the suggested changes in AS R85 (vol.40(1), pp.233-5, 1991)

!msgpostfix Quantiles of the chi-squared probability distribution function\n
   
!need all
0.01
0.222222
0.32
0.4
1.24
2.2
4.67
6.66
6.73
13.32
60.0
70.0
84.0
105.0
120.0
127.0
140.0
175.0
210.0
252.0
264.0
294.0
346.0
420.0
462.0
606.0
672.0
707.0
735.0
889.0
932.0
966.0
1141.0
1182.0
1278.0
1740.0
2520.0
5040.0

5e-7
0.6931471806


# A Guide to Simulation, second edition
# Figure L.24 of P.Bratley, B.L.Fox, and L.E.Schrage.
#  Springer-Verlag, 1987.
 
!msgpostfix  Approximation of the inverse of Chi square cdf with k degrees of freedom\n

!need all
-289717.0
-   923.0
-   433.0
-    32.0
# -     7.0
#       3.0
#       6.0
#       9.0
#      12.0
#      14.0
    243.0
    256.0
    405.0
   1472.0
   3753.0
   4353.0
   4860.0
  25515.0
9185400.0
