Whenever we need to determine the probability of multiple true/false outcomes (support marriage equality or don't support marriage equality) out of some predetermined number of Bernoulli trials, we are dealing with binomial distribution.
Probability mass function of binomial random variable is given by
`((n),(k))p^k(1-p)^(n-k)`
where `n` is the number of Bernoulli trials, `k` is number of successful (true) trials and `p` is the probability of success.
In this case
`n=20`
`k>12`
`p=72%=0.72`
Therefore, the probability that more than 12 Australians out of 20 support marriage equality will be the sum of the mass function for each `k` between 13 and 20 i.e.
`sum_(k=13)^20 ((20),(k))0.72^k0.28^(20-k)`
For `k=13` we get
`((20),(13))0.72^13 0.28^7=(20cdot19cdot18cdot17cdot16cdot15cdot14cdot)/(1cdot2cdot3cdot4cdot5cdot6cdot7)cdot0.72^13 0.28^7approx0.146165`
In the line above we have used the fact that `((n),(k))=((n),(n-k))` which can be useful in calculating binomial coefficients.
We proceed by calculating the terms of the sum for all `k=13,14,ldots,20` and then summing all the terms.
Finally we get
`sum_(k=13)^20 ((20),(k))0.72^k0.28^(20-k)\approx0.829272=82.9272%`
Therefore, we can conclude that there is `82.9272%` probability that more than 12 randomly selected Australians in 2014 supported marriage equality.
If you want to know more about binomial distribution check the links below. ` <br> `
` `
No comments:
Post a Comment