If I'm selecting $N$ elements uniformly at random (with replacement) from $\{1, \dots, M\}$, what is the expected number of values that are selected exactly once?
The basis for this question originated here.
If I'm selecting $N$ elements uniformly at random (with replacement) from $\{1, \dots, M\}$, what is the expected number of values that are selected exactly once?
The basis for this question originated here.
Copyright © 2021 JogjaFile Inc.
Hint: Expected value is linear. What is the probability that a particular value is selected exactly once?