Warning: Illegal string offset 'type' in [path]/includes/class_postbit.php(294) : eval()'d code on line 65
.com.unity Forums - View Single Post - Luck/Turmoil versus Nothing.
View Single Post
  #124  
Old June 22nd, 2010, 02:01 PM
Squirrelloid Squirrelloid is offline
Major General
 
Join Date: Jun 2009
Posts: 2,157
Thanks: 69
Thanked 116 Times in 73 Posts
Squirrelloid is on a distinguished road
Default Re: Luck/Turmoil versus Nothing.

Quote:
Originally Posted by chrispedersen View Post
Quote:
Originally Posted by Squirrelloid View Post
Quote:
Originally Posted by chrispedersen View Post
1. Determine number of events.
2. Randomly choose province for event
3. Determine what events can happen (scales etc).
4. Check each possible event see if it happens.
5. Still have events remaining.. go to 2.
1 is almost certainly wrong based on the data I have. If it predetermined the number of events, you'd be unlikely to see a binomial distribution (which you do see). (I mean, I suppose it could calculate the number of events based on a binomial distribution, but that doesn't seem like the kind of thing JK would have bothered to do. In fact, the only reason to do that is to fool people trying to figure out how events are generated.
how is rolling four times (step one) not binomial?
But why would you check that way if you're determining number of events all at once? It only makes sense to determine them independently if you're checking for the event after some other step 1. (Especially given what we know of JK's programming style)

In addition to the problem LDICaesare points out, your method also predicts that empire size has no effect on the number of events seen. I'm pretty sure this is wrong, but I haven't recorded data to test it specifically.
__________________
The ignorant shall fall to the squirrels.
--Chip 4:2

Ulm: Order of the Black Rose - Reimagining MA Ulm

A more Sombre forum: http://z7.invisionfree.com/Dom3mods/index.php?.act=idx. Now with more Maerlande.
Reply With Quote