Hi,
I'm pretty new to STATA.
I have a panel data ranging from 1970-2004 - various variables such as per capita gdp, gfcf, avg schooling etc in STATA 16
I'm running a PMG estimation with the following command:
xtpmg d.lpcgdp d.lcapitalgfcf d.lavg_schooling d.popgrowthrate , lr(l.lpcgdp lcapitalgfcf lavg_schooling popgrowthrate) ec(ec) replace pmg
I wanted to know how I can incorporate non-linear time controls in order to control for the effects of business cycles? The table below shows the 5-year dummyies included in the results table (1970-75, 1976-80, 1981-85...)
My questions are:
1. How can I create those dummy variables for each of those time periods?
2. How can I incorporate those time control dummy variables into the PMG regression shown above?
I'd really really appreciate a prompt reply! Deadline is fast approaching... Thank you so much!
Kind regards,
Mohammed

I'm pretty new to STATA.
I have a panel data ranging from 1970-2004 - various variables such as per capita gdp, gfcf, avg schooling etc in STATA 16
I'm running a PMG estimation with the following command:
xtpmg d.lpcgdp d.lcapitalgfcf d.lavg_schooling d.popgrowthrate , lr(l.lpcgdp lcapitalgfcf lavg_schooling popgrowthrate) ec(ec) replace pmg
I wanted to know how I can incorporate non-linear time controls in order to control for the effects of business cycles? The table below shows the 5-year dummyies included in the results table (1970-75, 1976-80, 1981-85...)
My questions are:
1. How can I create those dummy variables for each of those time periods?
2. How can I incorporate those time control dummy variables into the PMG regression shown above?
I'd really really appreciate a prompt reply! Deadline is fast approaching... Thank you so much!
Kind regards,
Mohammed
Comment