Hi all,
I want to use the difference-in-difference method to estimate the effect of treatment at multiple distances to the treatment location. I have a house price dataset from 2000 to 2020 and a public infrastructure built in 2010. The effect of this infrastructure on house prices is likely to decrease as the distance to public amenities increases. To capture this effect, I created four distance dummies for walking distances: 0-500m,500m-1000m, 1000m-1500m, and 1500m-2000m.
My question is:
Is using multiple distance dummies and multiple interactions in a DID model possible? For example:

where f(j) is location and g(t) time-fixed effects.
Or do I need to divide the data into subsamples for corresponding distances and run the regression separately for each distance group? For example, for the distance 0-500m,

Any advice would be appreciated. Thank you!
I want to use the difference-in-difference method to estimate the effect of treatment at multiple distances to the treatment location. I have a house price dataset from 2000 to 2020 and a public infrastructure built in 2010. The effect of this infrastructure on house prices is likely to decrease as the distance to public amenities increases. To capture this effect, I created four distance dummies for walking distances: 0-500m,500m-1000m, 1000m-1500m, and 1500m-2000m.
My question is:
Is using multiple distance dummies and multiple interactions in a DID model possible? For example:

where f(j) is location and g(t) time-fixed effects.
Or do I need to divide the data into subsamples for corresponding distances and run the regression separately for each distance group? For example, for the distance 0-500m,

Any advice would be appreciated. Thank you!
Comment