Professional Documents
Culture Documents
Model characteristics:
Dichotomous outcomes
2
Binomial Probability
Distribution
A fixed number of observations (trials), n
e.g., 15 tosses of a coin; 20 patients; 1000 people
surveyed
A binary random variable
e.g., head or tail in each toss of a coin; defective or not
defective light bulb
Generally called “success” and “failure”
Probability of success is p, probability of failure is 1 – p
Constant probability for each observation
e.g., Probability of getting a tail is the same each time we
toss the coin
Binomial example
Take the example of 5 coin tosses. What’s
the probability that you flip exactly 3 heads
in 5 coin tosses?
Binomial distribution(Conti..)
Solution:
One way to get exactly 3 heads: HHHTT
10 x (½)5=31.25%
Example 2
As voters exit the polls, you ask a representative
random sample of 6 voters if they voted for
proposition 100. If the true percentage of voters
who vote for the proposition is 55.1%, what is the
probability that, in your sample, exactly 2 voted
for the proposition and 4 did not?
Solution:
Outcome Probability
YYNNNN = (.551) 2 x (.449)4
NYYNNN (.449)1 x (.551)2 x (.449)3 = (.551)2 x (.449)4
6
NNYYNN (.449)2 x (.551)2 x (.449)2 = (.551)2 x (.449)4
2 NNNYYN (.449)3 x (.551)2 x (.449)1 = (.551)2 x (.449)4
ways to arrange
2 Obama votes NNNNYY (.449)4 x (.551)2 = (.551)2 x (.449)4
among 6 voters
.
.
n X n X
p (1 p )
X 1-p = probability
of failure
X=# p = probability of
successes out success
of n trials
Definitions: Binomial
Binomial: Suppose that n independent experiments, or
trials, are performed, where n is a fixed number, and that
each experiment results in a “success” with probability p
and a “failure” with probability 1-p. The total number of
successes, X, is a binomial random variable with
parameters n and p.
We write: X ~ Bin (n, p) {reads: “X is distributed
binomially with parameters n and p}
And the probability that X=r (i.e., that there are
exactly r successes) is:
n r
P ( X r ) p (1 p ) n r
r
Definitions: Bernouilli
Bernouilli trial: If there is only 1 trial with
probability of success p and probability of
failure 1-p, this is called a Bernouilli
distribution. (special case of the binomial
with n=1)
1 1
P ( X 1) p (1 p )11 p
Probability of success: 1
Probability of failure: 1 0
P( X 0) p (1 p )10 1 p
0
Binomial distribution: example
20 10 10
(.5) (.5) .176
10
Binomial distribution: example
If I toss a coin 20 times, what’s the
probability of getting 2 or fewer heads?
20 20!
0
(.5) (.5)
20
(.5) 20 9.5 x10 7
0 20!0!
20 20!
(.5)1
(.5)19
(.5) 20 20 x9.5 x10 7 1.9 x10 5
1 19!1!
20 20!
2 18
(.5) (.5) (.5) 20 190 x9.5 x10 7 1.8 x10 4
2 18!2!
1.8 x10 4
**All probability distributions are
characterized by an expected value and a
variance:
outcomes
k
F (x ≤ k) = ∑ ( n) px qn-x
X=0
x
Syntax:
p = binocdf(x,p,q)
18
Binomial Distribution
Example application:
19
Binomial Distribution
Formulation:
Determine the probability of three or fewer
“successes” in 20 independent trials, each having 0.1
probability of success.
3
20
F (x ≤ 3) = ∑ ( x ) (0.1)x (0.9)20-x = 0.867
X=0
20
Beta Distribution
Model characteristics:
Variable bounded at both ends
21
Beta Distribution – Probability
Density Function
A random variable X is said to have a Beta Distribution with
parameters, α, β, A and B if
the probability density function of X is
and is 0 otherwise
( ) 1 1
f ( x; , ) x (1 x)
( )( )
and 0 otherwise
0 x 1
Graphs of Standard Beta Probability Density
Function
f ( x; , ) 8 2
0.5
4 5
0.5 2
2
x
0
0 0.5 1
Beta Distribution – Mean and
Standard Deviation
B A
1
Beta Distribution – Example
Since
0 .4 2 ( 3 )( 0 . 4 ) 3 . 2 .
27 2 27 4 27
Beta Distribution
Cumulative distribution function: q
______________
(n – 1)!
F (Q ≤ q | r,n) = ∫ υr-1 (1 – υ) dυ
(r – 1)! (n – r – 1) 0
28
Beta Distribution
Frequent application situations:
Proportions or percentages
Physical variables in restricted intervals
Tolerances in quality control and reliability
PERT networks (generalized form)
Bayesian analysis (informative a priori)
29
Beta Distribution
Example Application:
Suppose that the percentage of employees who submit
medical benefits claims each year is a beta random
variable. As the benefits coordinator for a small firm with
40 employees, you currently expect that about 30
percent will most likely submit claims this year.
Determine the probability that more than 16 employees
will submit claims.
30
Beta Distribution
Formulation:
Determine the probability that 16 or fewer of 40
employees will submit claims, and take the
complement.
μ = r/n = 0.30 = r = (0.30)(40) = 12
q = 16/40 = 0.40
From table values or software,
Fβ (Q ≤ 0.40 | 12, 40) = 0.91
Thus Pβ (Q > 0.40) = 1 – 0.91 = 0.09
31
Thank you