Displaying 2 results from an estimated 2 matches for "anthony28".
Did you mean:
anthony
2008 Apr 29
7
How do you test for "consecutivity"?
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 consecutive. So, for instance, an experiment that
yielded the numbers 2, 28, 31, 4, 27 would be
2008 May 29
2
Calculating conditional mean of large series of experiments
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 is assign a variable A which
represents the maximum number out of the two balls selected; and a