Hello All,
I am building event based model to check the effect of Covid-19 policies in US. I built it using fixed effect regression. the model is studying the impact of mask policy in counties that applied business close or not. after building the regression i got results and coefficient as follows:

I see the coefficient for last two days are omitted. when I tried to get margin using margin command I got (not estimable) message for all coefficients. I read a lot on your website and see one solution by using noestimcheck margin. I got results for margin after using this command. My question is if I can adopt these results of margin on my research. is it accurate results that I can use it? I appreciate your help as I need help to complete my research and submit my results after being sure about it.
My code:
g busniss_policy=business_delta_day
replace busniss_policy=1 if busniss_policy>=0
replace busniss_policy=0 if busniss_policy<0
* to rprint coeff significant statistics->postestimator->managepst results->table by adding business_delta_day>0 means these counties applied business close policy
reghdfe cases_normed i.shifted_ttt11#busniss_policy cases_normed_delay_14days cases_normed_delay_14days_growth residential workplaces transit_stations parks grocery_and_pharmacy retail_and_recreation grocery_and_pharmacy_sq retail_and_recreation_sq parks_sq transit_stations_sq workplaces_sq if shifted_ttt11<=368 & shifted_ttt11>=331&mask!="2077-12-31", absorb(fips time) vce(cluster fips)
margins shifted_ttt11#busniss_policy,noestimcheck
I am building event based model to check the effect of Covid-19 policies in US. I built it using fixed effect regression. the model is studying the impact of mask policy in counties that applied business close or not. after building the regression i got results and coefficient as follows:
I see the coefficient for last two days are omitted. when I tried to get margin using margin command I got (not estimable) message for all coefficients. I read a lot on your website and see one solution by using noestimcheck margin. I got results for margin after using this command. My question is if I can adopt these results of margin on my research. is it accurate results that I can use it? I appreciate your help as I need help to complete my research and submit my results after being sure about it.
My code:
g busniss_policy=business_delta_day
replace busniss_policy=1 if busniss_policy>=0
replace busniss_policy=0 if busniss_policy<0
* to rprint coeff significant statistics->postestimator->managepst results->table by adding business_delta_day>0 means these counties applied business close policy
reghdfe cases_normed i.shifted_ttt11#busniss_policy cases_normed_delay_14days cases_normed_delay_14days_growth residential workplaces transit_stations parks grocery_and_pharmacy retail_and_recreation grocery_and_pharmacy_sq retail_and_recreation_sq parks_sq transit_stations_sq workplaces_sq if shifted_ttt11<=368 & shifted_ttt11>=331&mask!="2077-12-31", absorb(fips time) vce(cluster fips)
margins shifted_ttt11#busniss_policy,noestimcheck
Comment