[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Creating container with elements
From: |
CdeMills |
Subject: |
Re: Creating container with elements |
Date: |
Mon, 9 Apr 2012 13:23:06 -0700 (PDT) |
trixfix wrote
>
> Container holds 1000 elements which 940 are 1 and 60 are 0. I need to
> randomly take 100 elements from that container and check how many 1 and 0
> I have. Also i need to determine probability how many 1 are there, if more
> than 95 or more is 1.
>
> Thank you for your help
>
You don't give enough information. After taking one element out of the
container, do you put it back on it or not ? If yes, then the model is
binomial; otherwise it is hypergeometric.
Pascal
--
View this message in context:
http://octave.1599824.n4.nabble.com/Creating-container-with-elements-tp4538114p4543734.html
Sent from the Octave - General mailing list archive at Nabble.com.