Count Data Models Flashcards

(25 cards)

1
Q

What do poisson/count data models focus on

A
  • The number of occurrences of an event
  • Here the outcome variable is y = 1,2,3
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Give 3 examples of a poisson/count model

A
  • Number of visits to a doctor a person makes during a year
  • The number of children in a household
  • The number of car accidents during a month
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How do the variables work in a count model

A
  • Samples of individuals or households will have different characteristics that affect the probability distribution
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the probability distribution function for a poisson

A
  • Pr(Y = y) = λ^y * e^-λ / y!
  • y = 0, 1, 2, …
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does the parameter λ represent

A
  • The expected number of times that Y = y occurs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How does λ increasing affect the distribution of the poisson

A
  • As λ increases, the Poisson distribution shifts to the right
  • For large values of λ, the Poisson distribution is approximately normal
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the equi-dispersion property of the Poisson Distribution

A
  • This means that the mean and variance are both equal to λ
  • Equi-dispersion means that the mean is equal to variance
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is over-dispersion

A
  • When the variance is greater than the mean
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What makes a Poisson model unnatractive

A
  • In reality, most variables are not equi-dispersed
  • equi-dispersion is a strong assumption
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How this the poisson regression model represented for count data

A
  • E(Y) = λi = exp(b0 + b1 * x1i + … + bk * xki)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Why is the poisson regression model faulty

A
  • The RHS can take any real value but the Poisson mean has to be non-negative
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How do we deal with the faulty issues of the Poisson Regression model

A
  • We replace λi with its logarthim, define ηi = ln(λi)
  • The transformed mean follows a linear model ηi = ln(λi) = b0 + b1 * x1i + … + bk * xki
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What does the regression coefficient represent in the logarithm count model

A
  • Bj represents the change in the log of the λj for a uniy change in the variable xj
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How else can a Poisson regression be read as

A
  • exp(ηi) = λi = exp(b0 + b1 * x1i + … + bk * xki)
  • exp(ηi) = λi = e^b0 * e^(b1 * x1i) * e^bk * xki
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How is the Poisson model estimated

A
  • Using maximum likelihood
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What does the regression coefficient exp(bjh) represent when λi is modelled as as the exponential function of a linear combination

A
  • Increasing xj by one unit multiplies λi by a factor of exp(bhj)
17
Q

How do we interperet b1 for a unitary change in x, between x1 = x and x2 = x + 1

A
  • λ1 = e^b0 * e^b1 * x
  • λ2 = e^b0 * e^b1 * (x + 1)
  • The ratio of two means is equal to e^b1 => λ2 / λ1 = e^b1
  • Hence a change in x has a multiplicative effect on the mean of Y
18
Q

What is the Incident rate ratio

A
  • The IRR is the exponential of a Poisson regressions coefficients
  • IRR = exp(β)
19
Q

How can we compute the probability of observing yi

A
  • We plug in the estimated β coefficients into the density function for a poisson
20
Q

How do you calculate the marginal effect of a continuous variable

A
  • ∂λ/∂x = ∂/∂x * exp(b0 + b1 * x) = exp(b0 + b1 * x) * (b0 + b1 * x)’ = exp(b0 + b1 * x) * b1
  • The change in the conditional mean for a unit increase in x
21
Q

What is the alternative way to interperet the coefficients of the model

A
  • ln(λ) = b0 + b1 * x
  • Resembles a log-linear model
  • A unitary change in x leads to a 100 * b1% change in the conditional mean
22
Q

How do you calculate the marginal effect of a discrete variable

A
  • For D discrete variable, λ = exp(b0 + b1 * x1 + δ * d
  • E(y|D = 1) - E(y|D = 0) = exp(b0 + b1 * x1 + δ * 1) - exp(b0 + b1 * x1 + δ * 0)
  • The change in the conditional mean between the two states of D
23
Q

How else can you calculate the marginal effect of a discrete variable

A
  • ln(λ) = b0 * b1 * x + δ * D
  • Going from D = 0 to D = 1 leads to a 100(e^δ - 1)% change in the conditional mean
24
Q

Prove where 100 * (e^δ - 1)%

A
  • exp(δ) = λD = 1 / λD = 0
  • λD = 1 / λD = 0 - 1 = exp(δ) - 1
  • λD = 1 / λD = 0 - λD = 0 / λD = 0 = exp(δ) - 1
  • λD = 1 - λD = 0 / λD = 0 = exp(δ) - 1
  • Then when multiplied by 100 is the percentage difference between λD = 1 and λD = 0
25