[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tolerance in binopdf.m
From: |
Ben Abbott |
Subject: |
Re: tolerance in binopdf.m |
Date: |
Wed, 21 Sep 2011 09:14:20 -0400 |
On Sep 21, 2011, at 2:56 AM, Michael D Godfrey wrote:
> I just checked ML. They reference Abramowitz and Stegun
> and C. Loader. And, the details look OK.
>
> I do not have access to an ML version on Mac to see
> if it fails.
>
> Also, I have not figured out the values of n for which
> the Mac fails, but in any case the Loader algorithm should
> be used for large n. (n=>10)
>
> Michael
>
For gammaln, Matlab on MacOS gives the same answer as Octave.
fprintf ('%.17f\n', gammaln (3))
0.69314718055994540
fprintf ('%.17f\n', log (0.5))
-0.69314718055994529
I don't have Matlab's binopdf() function to compare to.
Ben
- Re: tolerance in binopdf.m, (continued)
- Re: tolerance in binopdf.m, Ben Abbott, 2011/09/20
- Re: tolerance in binopdf.m, Jordi Gutiérrez Hermoso, 2011/09/21
- Re: tolerance in binopdf.m, Tatsuro MATSUOKA, 2011/09/21
- Re: tolerance in binopdf.m, Michael D Godfrey, 2011/09/21
- Re: tolerance in binopdf.m, Ben Abbott, 2011/09/21
- Re: tolerance in binopdf.m, Rik, 2011/09/21
- Re: tolerance in binopdf.m, Marco Atzeri, 2011/09/21
- Re: tolerance in binopdf.m, Jordi Gutiérrez Hermoso, 2011/09/21
- Re: tolerance in binopdf.m, Michael D Godfrey, 2011/09/21
- Re: tolerance in binopdf.m, Michael D Godfrey, 2011/09/21
- Re: tolerance in binopdf.m,
Ben Abbott <=
- Re: tolerance in binopdf.m, Ben Abbott, 2011/09/21
- Re: tolerance in binopdf.m, Marco atzeri, 2011/09/21
- Re: tolerance in binopdf.m, Ben Abbott, 2011/09/21
- Re: tolerance in binopdf.m, Jordi Gutiérrez Hermoso, 2011/09/21
- Re: tolerance in binopdf.m, Dr. Alexander Klein, 2011/09/21
Re: Overhaul of statistical distribution functions, Michael D Godfrey, 2011/09/21