.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening

Reply
 
Thread Tools Display Modes
  #1  
Old June 9th, 2008, 07:16 AM

Kaljamaha Kaljamaha is offline
Private
 
Join Date: Nov 2003
Location: Helsinki, Finland
Posts: 44
Thanks: 0
Thanked 1 Time in 1 Post
Kaljamaha is on a distinguished road
Default Re: Fortune teller

Quote:
secretperson said:
Interesting! Thanks for the responses!

It's been wayyyy too long since high school statistics... How would this look statistically?
It's binomial distribution. Look up the correct row from Pascal's triangle. So, for example, if you have three fortune tellers (5) in a province, the chance that at least one of them prevents an event is:

0.05^3 + 3 * 0.05^2 * 0.95 + 3 * 0.05 * 0.95^2 = 14.2625%

Or, if you prefer the easy way, its:

1 - (1 - 0.05)^3


K.
__________________
Mental health is an extremely serious issue, which, if not detected and treated early on, will drive you mad.
Reply With Quote
  #2  
Old June 9th, 2008, 09:43 AM

llamabeast llamabeast is offline
National Security Advisor
 
Join Date: Nov 2006
Location: Oxford, UK
Posts: 5,921
Thanks: 194
Thanked 855 Times in 291 Posts
llamabeast will become famous soon enoughllamabeast will become famous soon enough
Default Re: Fortune teller

Quote:
its better than adding.
2 5% chances > 1 10% chance, as you have the small possibility of cancelling two events.
This isn't really correct. The chance of blocking at least one event is less than 10% for two 5% fortune tellers. Of course there is a chance of blocking two events, but most often that will be irrelevant as there won't be two events trying to happen there anyway.
__________________
www.llamaserver.net
LlamaServer FAQ
My mod nations: Tomb Kings and Vampire Counts
A compilation of high quality mod nations: Expanded Nations Packs
Reply With Quote
  #3  
Old June 9th, 2008, 02:57 PM
Agrajag's Avatar

Agrajag Agrajag is offline
Lieutenant Colonel
 
Join Date: Jul 2004
Location: Israel
Posts: 1,449
Thanks: 4
Thanked 8 Times in 2 Posts
Agrajag is on a distinguished road
Default Re: Fortune teller

If an event attempts to get past fortune tellers, then 20 fortune tellers with 5% will have ~64% of stopping that event.
The formula goes: 1-(1-P)^n, P is the probability of stopping an event (0.05 in this case), and n is the number of fortune tellers (20 in this case).

Explanation: The chance for a fortune teller to prevent the event is P, so the chance of the event getting past that fortune teller is (1-P), so the chance for getting past all of the fortune tellers is (1-P)^n, so if we want to see what the chance of the event not getting past all of the fortune tellers we get 1-(1-P)^n.

(Feel free to correct me if I'm mistaken )
__________________
I'm in the IDF. (So any new reply by me is a very rare event.)
Reply With Quote
  #4  
Old June 9th, 2008, 03:05 PM

Sombre Sombre is offline
BANNED USER
 
Join Date: Feb 2007
Posts: 5,463
Thanks: 165
Thanked 324 Times in 190 Posts
Sombre is on a distinguished road
Default Re: Fortune teller

You're mistaken.

The goat is actually behind door number 4, the door you came in through.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 03:57 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.