a. n01cdfinv"0 ] 0 1 gives wrong answers. b. Either define n01cdfinv to have rank 0, that is, n01cdfinv=: (blah blah) "0 or else make it work on non-atoms without requiring the user to do the "0 .
----- Original Message ----- From: Ewart Shaw <[EMAIL PROTECTED]> Date: Wednesday, November 1, 2006 9:00 am Subject: [Jprogramming] Algorithm for Inverse Normal CDF (Work in Progress) > I'm currently rationalising my J code for probability distributions. > Many published algorithms are in FORTRAN, and translating into J is > (at least initially) a compromise between transliteration (which > makes errors easier to spot) and reinterpretation. > > I've put an initial example under the JWiki > -> Code Workshop -> Work in Progress -> EwartShaw/N01CdfInv > > Anyone who needs the inverse Normal CDF (aka 'quantile function' > or 'normal deviates') might find it useful. See the Wiki page > for further comments. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
