Question 1165673: Five-digit codes are selected at random from the set {0, 1, 2, ..., 9} with replacement. If the random variable X denotes the number of zeros in randomly chosen codes, then what are the space and the probability density function of X?
Answer by ikleyn(52781) (Show Source):
You can put this solution on YOUR website! .
Five-digit codes are selected at random from the set {0, 1, 2, ..., 9} with replacement.
If the random variable X denotes the number of zeros in randomly chosen codes, then what are
the space and the probability density function of X?
~~~~~~~~~~~~~~~~~~~~~~~~~~~
The words "with replacement" mean, in this context, that in every of 5 positions, from 1 to 5,
from left to right, any of 10 digits can appear independently of digits in other positions,
with the probability = 0.1.
For X, we have 6 possible values, X = 0, 1, 2, 3, 4, 5.
The probability density function of X is
P(X=0) = = = 0.59049,
P(X=1) = = = 0.32805,
P(X=2) = = = = 0.0729,
P(X=3) = = = = 0.0081,
P(X=4) = = = = 0.00045,
P(X=5) = = = 0.00001.
CHECK. 0.59049 + 0.32805 + 0.0729 + 0.0081 + 0.00045 + 0.00001 = 1. (! correct !)
Solved.
|
|
|