question

Andrea B9 avatar image
0 Likes"
Andrea B9 asked Joerg Vogel commented

decide by percentage inaccuracy

  1. decide_inaccuracy_problem.fsm
  2. I do the decide by percentage and I have 56 and 44 % for connector 1 and 2 but over 200, 115 go to 1 and 85 to 2. I don't get why not 112 and 88.

Thanks in advance

  1.  
FlexSim 20.0.0
processflowflexsim 20.0.0decide by percentage
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Matthew Gillespie avatar image
4 Likes"
Matthew Gillespie answered Joerg Vogel commented

That's just how probability works. You will rarely get the exact percentage you specify, although the more things you put through those connectors the more likely it is to even out.

Here's an example taken from this site that does a good job explaining probablity https://seeing-theory.brown.edu/basic-probability/index.html.

Say we flip a coin 100 times. A coin flip has a 50% chance of being heads (H) and 50% chance of being tails (T) as shown on the right with blue bars. However, you'll rarely get that outcome with 100 flips. Here's what I got after clicking the flip 100 times button, 56 of the 100 were Tails.

I clicked the button 4 more times (500 flips) and got this result:

251/500 is much closer


1592419481337.png (1.3 MiB)
1592419489036.png (19.3 KiB)
1592419722804.png (1.1 MiB)
1592419730152.png (9.4 KiB)
· 7
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.