Bernoulli vs. Geometric distribution
Suppose that in a sequence of independent bernoulli trails, the number of failures up to the first success is counted.
FIND: What is the frequency function for this random variable?
attempted SOLUTION:
We know that Bernoulli distribution where $f(k)=p^k(1-p)^{1-k}$ is the frequency function for number of successes in a single trial (??).
We also know that the geometric dirtribution models the number of failures up to the first success. Wouldnt be the frequency function for the random variable just be the geometric distribution with frequency function $f(k)=(1-p)^{k-1}p$ ?
provided SOLUTION
Our professor provided a solution to this exercises that states: $f(k)=(1-p)^{k}p$
Is my approach wrong?
$\endgroup$ 21 Answer
$\begingroup$If you choose k=1, the probability is (1-p)*p for (failure, success), so f(1)=(1-p)*p. So your proff. is right.
$\endgroup$More in general
"Zoraya ter Beek, age 29, just died by assisted suicide in the Netherlands. She was physically healthy, but psychologically depressed. It's an abomination that an entire society would actively facilitate, even encourage, someone ending their own life because they had no hope. Th…"