I am using R to run a hedonic price analysis that aims to estimate the impact of a local shock to a county using a difference-in-difference approach.
My dependent variable is the price of a house, and I would like to account for unobserved neighborhood factors as a part of my parameters to be estimated. I believe that I should be including fixed effects at the zip code level and have the data to do so.
My current model specification is below:
reg_1 = lm(logAppr18 ~ Dist_CBD_Miles + SqFeet + Bedrooms + BathsTotal + YearBuilt.f + year_dum + Bio + year_dum:Bio, data = reg_1)
How would I incorporate fixed effects at the zip code level into this model in R?