I am evaluating a state-level policy with a staggered rollout. After the policy goes into effect there are individuals within each state who benefit from the policy (treated) and who are not eligible to benefit from the policy (controls). We have a continuous time variable (cont_quarter) and then I coded a policy implementation quarter (policy_imp_qt) to be used in the gvar option. Policy_imp_qt is set to 0 for ineligible individuals.
Because our time variable is pretty granular, almost every state in our dataset has a unique policy implementation quarter (see table below). The exceptions are two states, RI and VA, which implemented the policy in quarter 21.
Because we are comparing the change in outcomes for eligible people in states that implement the policy to the change in outcomes for ineligible people in the *same* states, I originally planned to include state fixed effects. However, when I run the code below with state FE I get 0 estimates throughout.
I am guessing it has to do with the fact that policy implementation quarter in the majority of the cases is collinear with state? But what about the two states that have the same policy implementation quarter? I considered running a regression with no state FE but just including a dummy for either RI/VA. But I am not sure if I am interpreting the problem and the setup correctly. I would appreciate any comments and suggestions. Thank you in advance!
Because our time variable is pretty granular, almost every state in our dataset has a unique policy implementation quarter (see table below). The exceptions are two states, RI and VA, which implemented the policy in quarter 21.
Code:
| policy_imp_qt state | 0 10 17 21 33 35 37 40 | Total -----------+----------------------------------------------------------------------------------------+---------- AZ | 6,582 11,398 0 0 0 0 0 0 | 17,980 GA | 22,934 0 0 0 0 0 7,938 0 | 30,872 HI | 44 0 0 0 0 47 0 0 | 91 KS | 1,673 0 0 0 3,008 0 0 0 | 4,681 ME | 617 0 378 0 0 0 0 0 | 995 OK | 1,487 0 0 0 0 0 0 3,098 | 4,585 RI | 6,368 0 0 5,185 0 0 0 0 | 11,553 VA | 5,810 0 0 20,907 0 0 0 0 | 26,717 -----------+----------------------------------------------------------------------------------------+---------- Total | 45,515 11,398 378 26,092 3,008 47 7,938 3,098 | 97,474
Code:
csdid y i.STATE, time(cont_quart) gvar(policy_imp_qt) method(dripw) cluster(patid) long2
Comment