Dear Statalisters,
In my research paper, I investigate the effects of the ICT (mobile data subscriptions) on the size of the shadow economy (shadow_economy) in 39 countries. I have a panel of 39 countries (id) with 10 years of observations (t).
I also classify the counties by their income level, which is specified by the "income" dummy, income=0 represents a low level of income, and income=1 represents more advanced countries
I ran the following regression
and wanted to plot this regression to illustrate the interaction effect
Yet using the
and
commands did not work for me
Please advise on how to properly plot the regression. I appreciate your help!
In my research paper, I investigate the effects of the ICT (mobile data subscriptions) on the size of the shadow economy (shadow_economy) in 39 countries. I have a panel of 39 countries (id) with 10 years of observations (t).
I also classify the counties by their income level, which is specified by the "income" dummy, income=0 represents a low level of income, and income=1 represents more advanced countries
I ran the following regression
Code:
xtreg shadow_economy c.mobile##i.income i.t, fe cluster(id)
Yet using the
Code:
margins
Code:
marginsplot
Please advise on how to properly plot the regression. I appreciate your help!