![]() |
|
more useful options | |
PerlMonks |
Re^2: Monte Carlo - Coin Tossby eye (Chaplain) |
on Mar 12, 2011 at 16:41 UTC ( #892834=note: print w/replies, xml ) | Need Help?? |
...find the probability density function of distribution (pdf) of tossing 20 coins at a time. Let me add a pedantic point. When asked to find a PDF (e.g., in a statistical theory class), the requester is likely to mean that the function should be found analytically. That said, it is equally valid to compute it exactly by enumeration (as roboticus did). Someone looking for a Monte Carlo approach will typically ask you to estimate the PDF.
In Section
Cool Uses for Perl
|
|