I have a group of 60 of one category and 30 of another. I would like to collect a sample of 4 of one and 2 of the other category. So I would like to collect until both conditions are met and see how many were selected to get to the desired collection. I think that this should be done in a collect until, but I have a problem setting up the conditions. I created measures that count the number of each category collected.
Specifically, this is what I am trying to model with Fathom:
Suppose I want to choose a simple random sample of size 6 from a group of 60 seniors and 30 juniors. To do this, I write each person?s name on an equally sized piece of paper and mix them up in a large grocery bag. Just as I am about to select the first name, a thoughtful student suggests that I should stratify by class. I agree, and we decide it would be appropriate to select 4 seniors and 2 juniors. However, since I already mixed up the names, I don?t want to have separate them all again. Instead, I will select names one at a time from the bag until I get 4 seniors and 2 juniors. This means, however, that I may need to select more than 6 names (e.g. I may get more than 2 juniors before I get the 4 seniors). Design and carry out a simulation using Table D to estimate the probability that you must draw 8 or more names to get 4 seniors and 2 juniors.
------- End of Forwarded Message
To unsubscribe, send mail to email@example.com In the body of the message, use the following command: unsubscribe fathomtp
To reach the (actual, human) owner of the list, send your message to: firstname.lastname@example.org