[WP34s] Regularized incomplete Beta function
|
05-12-2014, 06:18 AM
Post: #49
|
|||
|
|||
RE: [WP34s] Regularized incomplete Beta function
(05-11-2014 09:51 PM)Paul Dale Wrote:(05-11-2014 01:50 PM)Dieter Wrote: 1. Catching the case p=1/2 at the beginning is not neccessary. The estimate will be exactly zero, and this is what will be returned directly after the first iteration, i.e. almost immediately. Then something is going wrong. The first estimate should be zero, so the CDF is exactly 0.5 and the following correction zero as well. CNVG? 00 then compares two zeros in X and Y which should be considered converged. It works fine here with my original code on a hardware 34s. Please check. BTW, if "no root found" appears, the value in X now is |quantile|, without a sign adjustment. That's why I originally used flag 01 to put the error message behind the final +/–. Dieter |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)