For a binomial distribution $B(n, p)$, the mean ($\mu$) and variance ($\sigma^2$) are given by:
Given:
Using the given values:
Substitute the value of $np$ from step 1 into step 2:
$1 \times (1-p) = \frac{3}{4}$
Solve for $p$:
$1-p = \frac{3}{4} \implies p = 1 - \frac{3}{4} = \frac{1}{4}$
Substitute the value of $p$ back into the mean equation ($np=1$):
$n \times \frac{1}{4} = 1 \implies n = 4$
Therefore, the binomial distribution is $B(n=4, p=\frac{1}{4})$.
The binomial probability formula is:
$P(X=k) = \binom{n}{k} p^k (1-p)^{n-k}$
We need to find the probability that $X$ takes the value 3, i.e., $P(X=3)$.
Here, $n=4$, $k=3$, $p=\frac{1}{4}$, and $1-p = \frac{3}{4}$.
Substitute these values into the formula:
$P(X=3) = \binom{4}{3} \left(\frac{1}{4}\right)^3 \left(\frac{3}{4}\right)^{4-3}$
$P(X=3) = \binom{4}{3} \left(\frac{1}{4}\right)^3 \left(\frac{3}{4}\right)^1$
Calculate the binomial coefficient:
$\binom{4}{3} = \frac{4!}{3!(4-3)!} = \frac{4!}{3!1!} = 4$
Now, calculate the probability:
$P(X=3) = 4 \times \left(\frac{1}{64}\right) \times \left(\frac{3}{4}\right)$
$P(X=3) = \frac{4 \times 1 \times 3}{64 \times 4} = \frac{12}{256}$
Simplify the fraction:
$P(X=3) = \frac{3}{64}$
The probability that $X$ takes the value 3 is $\frac{3}{64}$.
A medicine is known to be 75% effective to cure a patient. If the medicine is given to 5 patients, what is the probability that at least one patient is cured by this medicine?
The mean and standard deviation of a binomial distribution are 12 and 2 respectively. What is the number of trails?