Docsity

Understanding Proportions, Prevalence, and Rates: Binomial and Poisson Distributions - Pro, Study notes of Community Health

Toggle sidebar
bg1
PubHlth 640 3. Discrete Distributions Page 1 of 36
Unit 3.
Discrete Distributions
Topic
1. Proportions and Rates in Epidemiological Research ……..…….…….
2. Review - Bernoulli Distribution ………………………………….…
3. Review - Binomial Distribution ………………..........………….……
4. Poisson Distribution ………………………………………..………..
5. Hypergeometric Distribution …………………………..……………
6. Fisher’s Exact Test ……………………………………………….….
7. Discrete Distribution – Themes ……………………………………..
2
7
11
18
27
32
35
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24

Partial preview of the text

Download Understanding Proportions, Prevalence, and Rates: Binomial and Poisson Distributions - Pro and more Study notes Community Health in PDF only on Docsity!

Unit 3.

Discrete Distributions

Topic 1. Proportions and Rates in Epidemiological Research ……..…….…….

  1. Review - Bernoulli Distribution ………………………………….…
  2. Review - Binomial Distribution ………………..........………….……
  3. Poisson Distribution ………………………………………..………..
  4. Hypergeometric Distribution …………………………..……………
  5. Fisher’s Exact Test ……………………………………………….….
  6. Discrete Distribution – Themes ……………………………………..

1. Proportions and Rates in Epidemiological Research

The concepts of “proportion of” and “rate of” describe different aspects of disease occurrence. This distinction is important to epidemiological research.

A proportion is a relative frequency. It is dimensionless.

Proportion = # events that actually occurred

events that could have occurred

Valid range: 0 to 1 E.g. – Toss a coin 10 times. If we observe 2 “heads”:

Proportion “heads” = 2/10 = 20%

  • Events that could have occurred = 10 tosses

  • Events occurred = 2 heads

Prevalence measures are examples of^ proportions.

A rate is a count of event occurrence per unit of time. As such, it is measured relative to an interval of time. It is not dimensionless.

Rate = # events that actually occurred

time periods experienced

Valid range: 0 to ∞ E.g., - 100 persons are known to have smoked, collectively, for 1,000 pack years. If we observe 3 occurrences of lung cancer:

Rate lung cancer = 3/1000 pack years

  • Time periods experienced = 1000 pack years

  • Events occurred = 3

Incidence densities are examples of rates.

Cumulative incidence = # disease onsets during interval of time

persons at risk in population at start of interval

Type of Measure Proportion

Denominator = # events that could have happened

persons in the population at the start of

the time interval who could possibly develop disease. Thus, all are disease free at the start of the interval.

Numerator = # events that actually occurred

persons developing the disease during the

time interval.

Valid range: 0 to 1

Interpretation The proportion of healthy persons who go on to develop disease over a specified time period. Note !! We assume that every person in the population at the start was followed for the entire interval of time.

Example: In this example, the event of interest is not disease occurrence. It is completion of a repeat screening mammogram.

There were 9,485 women in the New York State Breast and Cervical Cancer Screening Program registry as of 1988 with a negative mammogram, who did not have a history of breast cancer, and provided complete data.

2,604 obtained a repeat screening mammogram during the 6 year period 1988-1993.

The 6-year cumulative incidence of repeat screening mammogram is therefore

CI (^) 6 year

2 604

9 485

= = 0 2745 =27%

,

,

.

Further analysis is focused on the identification of its correlates.

Incidence Density = # disease onsets during interval of time Sum of individual lengths of time actually at risk

Type of Measure Rate

Denominator = # time periods experienced event free.

Sum of individual lengths of time during which there was opportunity for event occurrence during a specified interval of time.a

This sum is called “person time” and is

i

N

=

∑ 1

(time for i th^ person free of event)

It is also called “person years” or “risk time”.

Numerator = # new event occurrences # disease onsets during a specified interval of time. Valid range: (^) 0 to ∞

Intepretation The force of disease occurrence per unit of time

Other names Incidence rate

Note!! We must assume that the “risk” of event remains constant over time. When it doesn’t, stratified approaches are required.

Be careful in the reporting of an incidence density. Don’t forget the scale of measurement of time.

I = 7 per “person year”

= 7/52 = 0.13 per “person week”

= 7/365.25 = 0.019 per “person day”

2. Review - Bernoulli Distribution

In order to analyze variations in proportions and rates, we’ll need a few probability models. There are 4 and they are interrelated. Two of them were introduced in PubHlth 540, Introductory Biostatisics: Bernoulli and Binomial. Two additional distributions that are often used in analyses of discrete data are the poisson and hypergeometric distributions.

Recall - A Bernoulli Trial is the Simplest Binomial Random Variable.

A simple example is the coin toss.

“50-50 chance of heads” can be re-cast as a random variable. Let

Z = random variable representing outcome of one toss, with

Z = 1 if “heads” 0 if “tails”

π= Probability [ coin lands “heads” }. Thus,

π = Probability [ Z = 1 ]

We have what we need to define a probability distribution.

Enumeration of all possible outcomes

  • outcomes are mutually exclusive
  • outcomes exhaust all possibilities

Associated probabilities of each

  • each probability is between 0 and 1
  • sum of probabilities totals 1

Outcome Pr[outcome] 1 Pr[Z=1] = π 0 Pr[Z=0] = (1-π) Total = 1

In epidemiology, the Bernoulli might be a model for the description of ONE individual (N=1):

This person is in one of two states. He or she is either in a state of:

  1. “event” with probability π; or
  2. “non event” with probability (1-π)

The description of the likelihood of being either in the “event” state or the “non-event” state is given by the Bernoulli distribution

Mean ( μ ) and Variance ( σ^2 ) of a Bernoulli Distribution

Mean of Z = μ = π

The mean of Z is represented as E[Z].

E[Z] = π because the following is true:

All possible z

E[Z]= (^) ∑ [z]Probability[Z=z]

= [0] Pr [Z=0] + [1] Pr [Z=1]

=[ 0] (1-π) + [1] (π) = π

Variance of Z = σ^2 = (π)(1-π)

The variance of Z is Var[Z] = E[ (Z – (E[Z])^2 ].

Var[Z] = π(1-π) because the following is true:

2 2 All possible z

Var[Z] = E [(Z-π) ] = (^) ∑ (z-π) Probability[Z=z]

=[(0- π) ]Pr[Z=0]+[(1-^2 π ) ]Pr[Z=1]^2

= [π^2 ] (1-π) + [(1-π) ] (^2 π)

= π (1-π) [ π + (1-π) ]

= π (1-π)

3. Review - Binomial Distribution

Two ways to appreciate the Binomial distribution are the following:

ƒ 1 - A Binomial outcome = Sum of several Bernoulli trials ƒ 2 - General formula

1 - The Binomial as the Sum of Several Bernoulli Trials.

Consider appreciating one coin toss as an example of one Bernoulli trial.

  • Z is distributed Bernoulli (π) with Z=1 when the event occurs, 0 when it does not.

Toss the coin several times, say N times.

  • Z 1 , Z 2 , …. , ZN are each distributed Bernoulli (π)

If we add up the Z’s, we’re actually adding up 1’s and 0’s. The total number of 1’s is the number of events of success in N trials. Call this number of events of success a new random variable X.

N i i=

∑Z^ = X = # events in N trials

X, the outcome of a Binomial can be thought of as the net number of successes in a set of independent Bernoulli trials. A simple example is the outcome of several coin tosses (eg – “how many heads did I get?” ). The word choice “net” is deliberate here, to remind ourselves that we’re not interested in keeping track of the particular trials that yielded events of success, only the net number of trials that yielded event of success.

E.g.

  • What is the probability that 2 of 6 graduate students are female?
  • What is the probability that of 100 infected persons, 4 will die within a year?

2 - The Binomial in General Form

You can, alternatively, appreciate a binomial random variable outcome as a description of a sample of size = N. In this sample, some experience the event while the remainder do not.

Binomial Distribution

Among N trials, where

  • The N trials are independent
  • Each trial has two possible outcomes: 1 or 0
  • Pr [ outcome =1] = π for each trial; and therefore Pr [ outcome = 0] = (1-π)
  • X = # events of outcome

Probability [ X = x ] =

N

x

F

H

G

I

K

J π

x (^) (1-π) N-x (^) for x=0, …, N

Expected value is E[ Zi = x] = N π i

N

=

1

Variance is Var[ Zi = x] = N π (1-π) i

N

=

1

N

x

F

H

G

I

K

J = # ways to choose X from N =^

N

x N x

where N! = N(N-1)(N-2)(N-3) …^ (4)(3)(2)(1) and is called the factorial.

Your Turn

A roulette wheel lands on each of the digits 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9 with probability = .10. Write down the expression for the calculation of the following.

#1. The probability of “5 or 6” exactly 3 times in 20 spins.

#2. The probability of “digit greater than 6” at most 3 times in 20 spins.

Review of the Normal Approximation for the Calculation of Binomial Probabilities

Calculations of exact binomial probabilities become quite tedious as the number of trials and number of events gets large. Fortunately, the central limit theorem allows us to replace these exact calculations with very good approximate calculations. The approximate calculations are actually normal probability calculations.

The following is an example where the calculation of the required binomial probability would be too much to do!

Example Calculate the chances of between 5 and 28 events (inclusive) in 180 trials with probability of event = .041.

Idea of Solution Translate the required exact calculation into a very good approximate one using the z-score.

X distributed Binomial (N=180, π=.041) says that

μ BINOMIAL = nπ = (180)(.041) = 7.

2

σ BINOMIAL = n π (1-π) = (180)(.041)(.959) = 7.

σ BINOMIAL = σ BINOMIAL =

The approximate calculation using the z-score uses μ = μ (^) BINOMIAL and σ = σBINOMIAL

Pr[5 X 28] Pr[ Normal(0,1) ]

= Pr[ Normal(0,1) ]

= Pr[ -.895 ≤ Normal(0,1) ≤ 7.752 ]

≈ Pr [ -.895 ≤Normal(0,1) ] because 7.752 is in the extreme right tail.

= Pr [ Normal (0,1) ≤ +.895 ]because of symmetry of the tails of the normal

Review of the Normal Approximation for the Calculation of Binomial Probabilities – continued.

More generally, we can use a z-score and the normal distribution for the following reasons.

  • Binomial probabilities are likelihood calculations for a discrete random variable. Normal distribution probabilities are likelihood calculations for a continuous random variable.
  • When substituting for the exact probabilities, we use the Normal distribution that has mean and variance parameter values equal to those of our Binomial distribution.

μ (^) normal = μ (^) binomial = n π

σ σ π π

2 2 normal = binomial = n ( 1 − )

Desired Binomial Probability Calculation Normal Approximation w Correction

Pr [ X=k] Pr [ (k-1/2) < X < (k+1/2) ]

Pr [ X > k ] Pr [ X > (k-1/2) ]

Pr [ X < k ] Pr [ X < (k+1/2) ]

The extension.

  • We begin by constructing a binomial likelihood situation. Let

T = total accumulation of person time (e.g. – 1000 pack years) n = number of sub-intervals of T (eg – 1000) T/n = length of 1 sub-interval of T (e.g.- 1 pack year) λ = event rate per unit length of person time

  • What is our Binomial distribution probability parameter π?

π = λ (T/n) because it is (rate)(length of 1 sub-interval)

  • What is our Binomial distribution number of trials?

n = number of sub-intervals of T

We’ll need 3 assumptions

  1. The rate of events in each sub-interval is less than 1.

Rate per sub-interval = Pr[1 event per sub-interval]

0 < π = ( λ )(T/n) < 1

  1. The chances of 2 or more events in a sub-interval is zero.

  2. The subintervals are mutually independent.

Now we can describe event occurrence over the entire interval of length T with the Binomial.

Let X be the count of number of events.

Probability [ X = x ] =

n

x

F

H

G

I

K

J π

x (^) (1-π) n-x (^) for x=0, …, n

x n x

n T T

x n n

λ λ

−

⎝ ⎠ ⎣^ ⎦ ⎣^ ⎦

because π = ( λ)[ T / n ].

Some algebra (if you care to follow along) will get us to the poisson distribution probability formula.

The algebra involves two things

  • Letting n→∞ in the binomial distribution probability; and
  • Recognizing that the expected number of events over the entire interval of length T is λT because

λ is the “per unit subinterval” rate and T is the number of units. (analogy: for rate of heads = .50,

number of coin tosses = 20, the expected number of head is [.50][20] = 10). This allows us, eventually,

to make the substitution of λT = μ.

x N

n λT λT

Pr[X=x] = 1-

x n n

⎝ ⎠ ⎣^ ⎦^ ⎣^ ⎦

-x

x n

n λT λT λT

x n n n

⎝ ⎠ ⎣^ ⎦^ ⎣^ ⎦ ⎣^ ⎦

-x

Work with each term on the right hand side one at a time:

- 1 st^ term -

n (^) n! n(n-1)(n-2)...(n-x+1)(n-x)! n(n-1)(n-2)...(n-x+1) = = = x x!(n-x)! x!(n-x)! x!

⎛ ⎞ ⎜ ⎟ ⎝ ⎠

As nÆinfinity, the product of terms in the numerator Æ (n)(n)(n) … (n) = nx^.

Thus, as n Æ infinity

n (^) n^ x x x!

⎛ ⎞ ⎜ ⎟ → ⎝ ⎠