Function for evaluating the inverse chi-squared distribution function.
Note: This function is only available in version 4.1.1 of NCL. If your site is licensed for version 4.1, then you can get version 4.1.1 for free. To get version 4.1.1 of NCAR Graphics software, please contact your site representative. If you don't know who your site representative is, then send email to firstname.lastname@example.org or call (303) 497-1201.
function chiinv( p : float, df : float )
begin p = 0.99 df = 2. x = chiinv (p,df) print ("p="+p+" df="+df+" x="+x) df = 64. x = chiinv (p,df) print ("p="+p+" df="+df+" x="+x) endThe result is:
(0) p=0.99 df=2 x= 9.21034 (0) p=0.99 df=64 x=93.2169
NG4.1 Home, Index, Examples, Glossary, Feedback, Ref Contents, Ref WhereAmI?