I have a fixed effects regression with the following specification.
$$Y_{it}=Cost_{it}+Year_t+Year_t*Cost_{it}+X_{it}+State_i+e_{it}$$
where $Y$ is a continuous outcome variable, Cost
is the main variable of interest, Year
= 1999, 2000, 2001, other control variables represented by $X$, and state fixed effects. I had a program change in 2000 - so, 1999 represents pre-intervention period.
What I want to see is the total change in $Y$ in the years 2000,2001 vs. 1999 and also the change in $Y$ in these two years that was contributed by Cost
variable. Basically, I want to see the % of total change in Y in 2000 and 2001 that was contributed by Cost
.
I have read through some of the decomposition techniques but couldn't figure out how to do this one.
Appreciate your help.