Respuesta :
Answer:
a) For this case we have the following conditions:
1) Independence between thr random trials
2) Probability of success defined and fixed [tex] p=\frac{1}{7}[/tex]
3) A value of n fixed n=8
So then all the assumptions are satisfied to use the binomial distribution
Let X the random variable of interest, the distribution would be given by:
[tex]X \sim Binom(n=8, p=\frac{1}{7}=0.143)[/tex]
b) The mean is given by:
[tex] E(X) = np= 8* \frac{1}{7} =1.14[/tex]
The variance is given by:
[tex] Var(X) = np(1-p) = 8 *\frac{1}{7} (1-\frac{1}{7})=0.980[/tex]
And the deviation is just:
[tex] Sd(X) = \sqrt{0.980}=0.990[/tex]
c) If we find the probability using the complement rule we got:
[tex] P(X \geq 2) = 1-P(X<2)=1- P(X\leq 1)= 1- [P(X=0) +P(X=1)][/tex]
And if we find the individual probabilities we got
[tex]P(X=0)=(8C0)(0.143)^0 (1-0.143)^{8-0}=0.291[/tex]
[tex]P(X=1)=(8C1)(0.143)^1 (1-0.143)^{8-1}=0.388[/tex]
[tex] P(X \geq 2)= 1- [P(X=0) +P(X=1)]= 1-[0.291+0.388]=0.321[/tex]
So on this case makes sense the claim since the probability is higher or equal than the expected with the claim
Step-by-step explanation:
Previous concepts
The binomial distribution is a "DISCRETE probability distribution that summarizes the probability that a value will take one of two independent values under a given set of parameters. The assumptions for the binomial distribution are that there is only one outcome for each trial, each trial has the same probability of success, and each trial is mutually exclusive, or independent of each other".
For this case we define the random variable X="the number of customers that bought a box containing an extra donut."
Part a
For this case we have the following conditions:
1) Independence between thr random trials
2) Probability of success defined and fixed [tex] p=\frac{1}{7}[/tex]
3) A value of n fixed n=8
So then all the assumptions are satisfied to use the binomial distribution
Let X the random variable of interest, the distribution would be given by:
[tex]X \sim Binom(n=8, p=\frac{1}{7}=0.143)[/tex]
The probability mass function for the Binomial distribution is given as:
[tex]P(X)=(nCx)(p)^x (1-p)^{n-x}[/tex]
Where (nCx) means combinatory and it's given by this formula:
[tex]nCx=\frac{n!}{(n-x)! x!}[/tex]
Part b
The mean is given by:
[tex] E(X) = np= 8* \frac{1}{7} =1.14[/tex]
The variance is given by:
[tex] Var(X) = np(1-p) = 8 *\frac{1}{7} (1-\frac{1}{7})=0.980[/tex]
And the deviation is just:
[tex] Sd(X) = \sqrt{0.980}=0.990[/tex]
Part c
Assuming this question :"Two of the eight customers buy a box of donuts with an extra donut. Is the shop's claim accurate? Compute P(X ≥ 2) and use the result to justify your answer." Because we can't change the value of n since if we do this we need to change th distribution.
If we find the probability using the complement rule we got:
[tex] P(X \geq 2) = 1-P(X<2)=1- P(X\leq 1)= 1- [P(X=0) +P(X=1)][/tex]
And if we find the individual probabilities we got
[tex]P(X=0)=(8C0)(0.143)^0 (1-0.143)^{8-0}=0.291[/tex]
[tex]P(X=1)=(8C1)(0.143)^1 (1-0.143)^{8-1}=0.388[/tex]
[tex] P(X \geq 2)= 1- [P(X=0) +P(X=1)]= 1-[0.291+0.388]=0.321[/tex]
So on this case makes sense the claim since the probability is higher or equal than the expected with the claim