You are on page 1of 4

Generating a Binomial Distribution with parameters n=10 and p=0.

63




The probability Plot of above Binomial Distribution.
10 8 6 4 2 0
0.25
0.20
0.15
0.10
0.05
0.00
k
p
(
X
=
k
)
Scatterplot of p(X=k) vs k

Cumulative Probability Plot.
10 8 6 4 2 0
1.0
0.8
0.6
0.4
0.2
0.0
k
P
(
X

l
e
s
s

t
h
a
n

o
r

=
=

k
)
Scatterplot of P(X less than or == k) vs k


Distribution Plot.














10 8 6 4 2
0.25
0.20
0.15
0.10
0.05
0.00
X
P
r
o
b
a
b
i
l
i
t
y
Distribution Plot
Binomial, n=10, p=0.63
Cumulative Distribution Function

Normal with mean = 4.35 and standard deviation = 0.59

x P( X <= x )
5.2 0.925162


A coin is tossed 50 Times. Find both the binomial and normal approximation to the following events.
a) Exactly 25 Heads
Using Binomial Distribution:

Probability Density Function

Binomial with n = 50 and p = 0.5

x P( X = x )
25 0.112275


Using Normal Approximation:

Cumulative Distribution Function

Normal with mean = 25 and standard deviation = 3.54

x P( X <= x )
25.5 0.556161


b) At most 20 Heads
Using Binomial Distribution:

Cumulative Distribution Function

Binomial with n = 50 and p = 0.5

x P( X <= x )
20 0.101319


Using Normal Approximation:

Cumulative Distribution Function

Normal with mean = 25 and standard deviation = 3.54

x P( X <= x )
20.5 0.101831

You might also like