I need to repeat an experiment 1000 times. Each experiment involves randomly
selecting one ball each from two separate bags. Each bag contains 10 balls,
numbered 1, 2, 3, ... , 10. So the probability of selecting any one pair of
balls is equal to all others.
For each experiment, what I need to do
Yes I know the problem can be solved analytically -- the point was to see how
well R could simulate the theory.
In any case, your assistance is greatly appreciated and it worked well.
Thankyou. R does a good job of simulating the experiment!
--
View this message in context:
http://www.nabble.c
I need to use R to model a large number of experiments (say, 1000). Each
experiment involves the random selection of 5 numbers (without replacement)
from a pool of numbers ranging between 1 and 30.
What I need to know is what *proportion* of those experiments contains two
or more numbers that are
I'd just like to thank all you guys for stepping in so promptly with help. I
haven't yet had a chance to implement any of your code yet, but just by
looking over what you've suggested, I think I have enough to guide me. So
thanks once again!
--
View this message in context:
http://www.nabble.com
4 matches
Mail list logo