I want to estimate a staggered difference-in-difference (DD) with continuous treatment. The data looks something like this:
$$ \begin{array}{ccc} Individual & year & CT_{i,t} \\ \hline 1 & 2000 & 0 \\ 1 & 2001 & 0 \\ 1 & 2002 & 0 \\ 1 & 2003 & 0 \\ 1 & 2004 & 0.3 \\ 1 & 2005 & 0.4 \\ 1 & 2006 & 0.42 \\ 1 & 2007 & 0.2 \\ 1 & 2008 & 0 \\ 1 & 2009 & 0 \\ \hline 2 & 2000 & 0 \\ 2 & 2001 & 0 \\ 2 & 2002 & 0 \\ 2 & 2003 & 0 \\ 2 & 2004 & 0 \\ 2 & 2005 & 0 \\ 2 & 2006 & 0 \\ 2 & 2007 & 0 \\ 2 & 2008 & 0 \\ 2 & 2009 & 0 \\ \hline 3 & 2000 & 0.1 \\ 3 & 2001 & 0.1 \\ 3 & 2002 & 0.1 \\ 3 & 2003 & 0.5 \\ 3 & 2004 & 0.6 \\ 3 & 2005 & 0.4 \\ 3 & 2006 & 0.2 \\ 3 & 2007 & 0.1 \\ 3 & 2008 & 0.3 \\ 3 & 2009 & 0.1 \\ \hline 4 & 2000 & 0.3 \\ 4 & 2001 & 0.2 \\ 4 & 2002 & 0.4 \\ 4 & 2003 & 0.2 \\ 4 & 2004 & 0.3 \\ 4 & 2005 & 0.5 \\ 4 & 2006 & 0.1 \\ 4 & 2007 & 0.12 \\ 4 & 2008 & 0.13 \\ 4 & 2009 & 0.14 \\ \hline \end{array} $$
The generalized DD equation can be specified as follows:
$$ y_{i,t} = \gamma_i + \lambda_t + \delta CT_{i,t} + \epsilon_{i, t}, \cdots (1) $$
where $i$ denotes some individual and $t$ for year. $\gamma_i$ are individual fixed effects, and $\lambda_t$ are year fixed effects. $CT_{i,t}$ is a continuous treatment variable that measures individual $i$'s exposure to some "shock" in year $t$. Each of the individuals only experiences one treatment, i.e., individual 1 in 2004, individual 2 never, individual 3 in 2003, and individual 4 in 2006. For example:
Consider individual 1, his exposure to the shock is 0 until treatment occurs in year 2004, where his exposure to the shock has an intensity of 0.3. In the year after treatment, his exposure becomes 0.4, then 0.42, then 0.2 and dies out in 2008.
Individual 2 is "never treated".
Individual 3 has a constant exposure until he becomes treated in 2003, where his exposure jumps to 0.5. As a result of this treatment, his exposure then fluctuates around until the end of the sample period 2009.
Individual 4 has a fluctuating exposure until he becomes treated in 2006, where his exposure falls to 0.1, then fluctuates until the end of the sample period 2009.
My first question is whether Equation (1) is an appropriate generalized DD equation that I can use to estimate the "treatment" effect?
My second question is how can I estimate a dynamic period by period coefficient version of Equation (1)? For example, in the usual case where treatment is staggered but binary (and where the treatment variable is 0 in the "pre treatment" period), one can easily estimate a dynamic version by using period by period dummy variables such as shown here. However, how can I do that here? The continuous treatment variable (CT) is not always 0 in the pre-treatment period, nor does it take on a constant value post-treatment either.
EDIT: Some more information on the "treatment". Each treatment is the introduction of a new regulation. Each individual is treated based on how much he spends in a given year. If he spends more, his intensity of treatment (i.e., exposure to the regulatory shock) is higher, if he spends less, his intensity of treatment (i.e., exposure to the regulatory shock) is less, CT is bounded between 0 and 1. The first regulation occurred before the start of the sample period in 1992. This affected ALL individuals at the same time, but then after 1992, for each individual, a "newer" version of the regulation came into effect, but the introduction is staggered for each individual. The difference between the "newer" regulation and the initial one in 1992 is that the amount of money one spends translates into a different amount of treatment intensity. For example, if someone spends \$1 under the 1992 regulation, then the treatment intensity, say, takes a value of 0.1, but under the newer regulation, \$1 may translate into only 0.01 (these are just hypothetical values I made up to illustrate the difference in the regulation). Let me explain in detail how CT varies for each individual:
For individual 1, under the 1992 regulation, he spends nothing in 2000, 2001, 2002, and 2003, thus his CT is 0. For him, the new regulation is enforced in 2004, he happens to spend some money in 2004, spends a different amount of money in 2005, etc. That's why his CT fluctuates from 2004 to 2007. He spends nothing in 2008 and 2009, so his CT is 0.
Individual 2 never spends anything throughout the entire sample period, so his CT is always 0.
Individual 3 spends a constant amount of money in each of the years 2000, 2001, and 2002, so under the 1992 regulation, his CT is always 0.1. It does not fluctuate because he spends the same amount in each of these three years. But the newer regulation comes into effect for him in 2003. He spends varying amounts of money until the end of the sample period, that's why his CT fluctuates after 2003.
Individual 4 spends a varying amount of money each year from 2000 to 2005. Under the 1992 regulation, his CT fluctuates around. But the newer regulation for him comes into effect in 2006. Again he spends a varying amount of money until the end of the sample period, so his CT fluctuates until 2009.