Professional Documents
Culture Documents
KEY CONCEPTS:
We know that the combinations
formula
Random Variables
Variable: measurable characteristic.
Random Variable: variable that can have
different outcomes of an experiment,
determined by chance
Examples:
•X = outcome of roll of a die,
•Y = outcome of a coin toss,
•Z = height
Random Variable:
There are two types of random variable as
follows:
* Discrete Random Variable
* Continuous Random Variable
Discrete Random Variable, which can take only a
finite number or a countable infinity of values.
Examples: Dead/alive, treatment/placebo, dice, counts
Continuous Random Variable, which can assume
values on a continuous scale or interval.
Examples: blood pressure, weight, the speed of a car, the
real numbers from 1 to 6.
The Binomial distribution is all about
success and failure.
When to use the Binomial Distribution
A fixed number of trials
Only two outcomes
(true, false; heads tails; girl, boy…..)
Each trial is independent
p – Probability of Success
P(Failure) = 1 – P(Success)
q= 1-p
Binomial Probability Distribution
A binomial random variable X is defined to the
number of “successes” in n independent trials
where the P(“success”) = p is constant.
The following conditions need to be satisfied
for a binomial experiment:
1. There is a fixed number of n trials carried out.
2. The outcome of a given trial is either a
“success” or “failure”.
3. The probability of success (p) remains constant
from trial to trial.
4. The trials are independent, the outcome of a
trial is not affected by the outcome of any
other trial.
Binomial
Example
1. A dice is rolled 5 times
What is the probability it will show 6 exactly
3 times?
P(6)=1/6
P(Not 6)=5/6
5
5C 3 10
3
5 1 5
3 2
Answer:
Mean = np=5
𝑥 25−𝑥
𝑃 𝑋 = 𝑥 = 25𝐶𝑥 1ൗ 4ൗ
5 5
Example
The Mean and variance of a binomial distribution variate
are 8 and 6. Find P(X≥2).
Answer:
Answer:
Answer:
= 0.25
Example
10 coins are thrown simultaneously. Find the
probability of getting at least 7 heads?
Answer:
=0.171875
Example
4 coins were tossed simultaneously. What is the
probability of getting (i) exactly 2 heads (ii) at least 2
heads (iii) at most 2 heads.
Answer:
Answer:
Answer:
Example
Eggs are packed in boxes of 12. The probability
that each egg is broken is 0.35
P( X 3) P( X 0) P( X 1) P( X 2)
10 coins are tossed 1024 times and the following frequencies are
observed. Compare these frequencies with expected frequencies.
x 0 1 2 3 4 5 6 7 8 9 10
f 2 10 38 106 188 257 226 128 59 7 3
Answer:
σ 𝑓𝑥
Mean = np =
σ𝑓
= and n=
x 0 1 2 3 4 5
f 2 14 20 34 22 8
Answer:
Example
Treatment of Kidney Cancer
Suppose we have n = 40 patients who will be
receiving an experimental therapy which is
believed to be better than current treatments
which historically have had a 5-year survival
rate of 20%, i.e. the probability of 5-year
survival is p = .20.
40 16 24
P ( X 16) .20 .80 .001945
16
Also, keep in mind we need to find the
probability of having 16 or more patients
surviving at least 5 yrs.
BINOMIAL