Professional Documents
Culture Documents
DISTRIBUTIONS
Summary by: Gernimo Maldonado-Martnez
Biostatistician
Data Management & Statistical Research Support Unit
Universidad Central del Caribe
Remember hypothesis
testing?
Only a small
probability (2.5%) of
getting a result
this small
0
z
Only a small
probability (2.5%) of
getting a result
this large
A much larger
probability of
getting a result
this small
A much larger
probability of
getting a result
0
Result could easily have arisen this high!
if there was no difference
between groups
What is a distribution?
The
From 1 to
Ex: Weight, HgB count.
Discrete
Finite number
Ex: # of heads & tails in a coin flip.
Types of Distributions
Binomial
Poisson
Gamma
Normal
t-distribution
Exponential
F-distribution
Chi-squared
distribution
Hyper geometric
Laplace
Binomial Distribution
A
For
successes)
the most frequently encountered in statistics
For a fixed number of trials and each trial results in a
success with probability p and a failure with probability
1-p.
n x
n x
p ( x) p (1 p )
x
n=10 p=.15
0.3
0.25
0.2
0.15
p(x)
p(x)
0.4
0.35
0.1
0.05
0
0
10
0.4
0.35
0.3
0.25
0.2
0.15
0.1
0.05
0
0
10
p(x)
p(x)
2
25
30
35
40
45
50
30
35
40
45
50
n=50 p=.5
0.4
0.35
0.3
0.25
0.2
0.15
0.1
0.05
0
1
20
n=10 p=.5
15
5
x
10
0.4
0.35
0.3
0.25
0.2
0.15
0.1
0.05
0
0
10
15
20
25
x
Poisson Distribution
Important
Patients arriving @ ER
Number of a given accident
Counts of live or dead organisms
Particle emissions from radioactive
source
Calls arriving at a switchboard
Poisson Distribution
Let
Poisson Distribution
p( x) e
x!
x
Probability
Mass
Function (x =
number of events)
=13.8
0.3
0.3
0.25
0.25
0.2
0.2
0.15
0.15
p(x)
p(x)
=1.97
0.1
0.1
0.05
0.05
0
0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30
0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30
Relationship between
Binomial and Poisson
Distribution
When
Gamma Distribution
Very
parameters
Gamma Distribution
Shape of various Gamma
Distributions
1.5
=4 =1
f(x)
=2 =1
=1 =1
=0.5 =1
0.5
0
0
3
x
Continuous Distributions
Statistical
P[ a x b] f ( x) dx
b
f ( x) dx 1
Discrete Distributions
A
p( xi ) P[ X xi ]
p( xi ) 0 for all real x
p( x ) 1
i
Example of Density
Function f(x)
f(x)
-10
-8
-6
-4
-2
10
=
=
=
=
1/8
3/8
3/8
1/8
Probability
Mass Function
p (1) p
p (0) 1 p
p ( x) 0, if x 0 or 1
Exponential Distribution
Can
Waiting time @ ER
Survival time of cancer patients
Working lifetime of machine
Exponential Distribution
Density
Function
e x x 0
f ( x)
x0
2
1.5
f(x)
=0.5
1
=1
=2
0.5
0
0
Normal Distribution
Plays
Normal Distribution
Density
Function
1 ( x )2 / 2 2
f ( x)
e
2
=0 / =1
0.8
0.6
f(x)
=0 =1
0.4
=0 =2
=2 =0.5
0.2
0
-4
-2
0
x
Relationship between
Normal and other
distributions
The
Distributions used in
Analysis
Distributions
are used in
statistical tests to calculate
significance
Examples
Chi-Squared Distribution
t-Distribution
F-Distribution
Shape
based on degrees of
freedom
A normal distribution
(sd known)
A much larger
probability of
getting a result
this small
0
Result could easily have arisen
if there was no difference
between groups
A much larger
probability of
getting a result
this high!
Checking a Distribution
Graphs
Example (continued)
If
Example (continued)
How
Observed
Observed
Example
Histogram of Observed Length of Stay (LOS)
data
Example
Q-Q
Example
Graph
30
Observed
20
Normal
10
Gamma
0
0
LOS (days)