[metapost] Drawing a urn

Martin Kaffanke technik at roomandspace.com
Thu Nov 29 20:09:21 CET 2007


Am Donnerstag, den 29.11.2007, 11:00 -0600 schrieb Troy Henderson:
> > with this binary experiment, there shouldn't be any practical difference
> > between normal distribution and any other distribution (like uniform) as
> > long as probability for one outcome is 0.57, right?
> 
> Well, if I understand his problem correctly now, he's saying that he
> ALWAYS wants 57 out of 100 balls to be painted "light" as opposed to
> having the probability of a ball painted "light" is 0.57.  Those are
> clearly two different problems, and their outcome will almost always
> be different no matter what probability density function is used
> (normal, uniform, etc.).

Of course thats true, what I want to have is that if you would choose
one ball out of the urn, the probability to get a dark one should be .57
so we need exactly 57 dark balls and 43 light.  But now I can see you
understood the problem the other way round and so I can understand your
solution for this.

- Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://tug.org/pipermail/metapost/attachments/20071129/51096c44/attachment.bin 


More information about the metapost mailing list