I was running the following command:
However, when I run the following post-estimation commands, I get the following error messages:
None of these errors were communing up, and even after reading the issues in the forum, I could not solve mine.
I am attaching the codes and the dataset in this link, so I think it will be easier to handle the dataset.
Code:
gen densidade = populacao/area gen pib_percapita = pib/populacao xtset id_municipio year generate did = treated*treatment xtdidregress (marriage_women pib_percapita g3 g4 densidade populacao taxpayers) (did), group(id_municipio) time(year) estat trendplots, ytitle(marriage_women treated) estat grangerplot estat ptrends
Code:
estat trendplots, ytitle(marriage_women treated) treatment assignment times vary; not allowed with estat trendplots estat grangerplot estat grangerplot not valid
I am attaching the codes and the dataset in this link, so I think it will be easier to handle the dataset.
Comment