wp34s binomial bug



#6

0.5 STO J
2 STO K
2 h PROB Binom
Gives "Domain error" instead of 1.
Binom_u also gives incorrect result.

#7

First of all: which firmware version do you refer to?

I get the following results with v3.2 3405.

Just to be sure:

  • "Binom"  evaluates the lower CDF, i.e. the sum of all probabilities from k = 0...X
  • "Binomu" evaluates the upper CDF, i.e. the sum of all probabilities from k = X...n
  • "Binomp" evaluates the PDF, i.e. the single probability for k = X.

All this works fine here:
 0,5 STO J
2 STO K
 
0 Binomp => pdf(0) = 0,25
1 Binomp => pdf(1) = 0,5
2 Binomp => pdf(2) = 0,25
 
0 Binom => lower cdf(0) = 0,25 (= pdf(0))
1 Binom => lower cdf(1) = 0,75 (= pdf(0) + pdf(1)) 
2 Binom => lower cdf(2) = 1 (= pdf(0) + pdf(1) + pdf(2))
 
0 Binomu => upper cdf(0) = 1 (= pdf(0) + pdf(1) + pdf(2))
1 Binomu => upper cdf(1) = 0,75 (= pdf(1) + pdf(2))
2 Binomu => upper cdf(2) = 0,25 (= pdf(2))
What do you get?

Dieter


Edited: 22 Sept 2013, 2:34 p.m.


#8

Hi,

I also checked with mine: Version 3.2 3450

Results:


  0  Binom    => 0,25
1 Binom => 0,75
2 Binom => Domain Error

Cheers,

Miguel

#9

I discovered it on actual unit, which I do not have with me, but tried it with latest build in emulator (3450) before posting.

I get Domain error on Binom(2) everything else works like your example.

#10

Bug fixed.

- Pauli


Possibly Related Threads...
Thread Author Replies Views Last Post
  Expon bug in wp34s Andrew Nikitin 7 306 07-14-2013, 03:23 AM
Last Post: Marcus von Cube, Germany
  Inverse binomial Richard Berler 7 255 07-09-2013, 06:23 AM
Last Post: Marcus von Cube, Germany
  another wp34s bug Andrew Nikitin 8 324 06-26-2013, 01:01 AM
Last Post: Paul Dale
  weird statistics bug in wp34s Andrew Nikitin 5 283 06-20-2013, 01:54 PM
Last Post: Namir
  [WP34S] A funny bug in Pi (prod) Eduardo Duenez 3 242 01-28-2013, 03:41 AM
Last Post: Walter B
  [WP34s] Bug or feature? Dieter 25 809 01-03-2013, 06:20 PM
Last Post: Paul Dale
  [WP34S] WP34S firmware on the AT91SAM7L-STK dev kit? jerome ibanes 1 156 10-04-2012, 04:59 PM
Last Post: Paul Dale
  Bug in WP34S? Namir 5 241 08-05-2012, 06:32 PM
Last Post: Namir
  [WP34S] Curious Bug in Inverse Normal Function Les Wright 61 1,151 05-01-2012, 02:44 AM
Last Post: Paul Dale
  WP34s: Complex AGM (Bug...) Eduardo Duenez 33 933 04-23-2012, 05:59 PM
Last Post: Paul Dale

Forum Jump: