[WP34s] Regularized incomplete Beta function
|
05-11-2014, 01:50 PM
(This post was last modified: 05-11-2014 02:15 PM by Dieter.)
Post: #45
|
|||
|
|||
RE: [WP34s] Regularized incomplete Beta function
(05-05-2014 08:26 AM)Paul Dale Wrote: After a bit of debugging, the new Student-T quantile function code appears to be working on both the 34S and the 31S. The next builds will get this I see it is now in t.wp34s. Just two remarks: 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. 2. This is part of the iteration loop: Code:
The stack shuffling command obviously was added because the incomplete Beta function now accepts the three parameters in a different order than before. After this, right before the call to the Beta function, the T-register holds 1/2. After that call, the comment says that both Z and T hold the current estimate x – which was completely lost before the call (was neither in X nor Y nor Z nor T). ?!? I would say this should work better: Code:
Dieter |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)