| Author |
Comment/Response |
Tom
|
09/10/09 8:36pm
Hi,
I have a monte-carlo simulation of people randomly clicking on web sites that returns the numbers of clicks per site:
monteCarlo[numSites_, numClicks_] := Module[{sites},
sites = ConstantArray[0, numSites];
Do[sites[[Random[Integer, {1, numSites}]]]++, {numClicks}];
SortBy[Tally@sites, -#[[1]] &]
]
How can I come up with an equation to simulate the results of this?
When numClicks/numSites is large, the data follows a normal distribution, but when numClicks/numSites approaches 0, this gets more and more inaccurate.
(see full post with pictures here: http://echochamber.me/viewtopic.php?f=17&t=44880#p1770592)
URL: , |
|