Hello, first time user in this forum,

As this model relies in integrating the 'turning point' of a EKC: (dEt / dt) = alpha(y - y*)g, it produces the output:

LnEit = β0(yigit) + β1(git) + β1(gi​​​​​​​t) + β2(Iigi​​​​​​​t) + β3(Vigi​​​​​​​t) + β4[Time Trend]it + β5[Control Variables]it + [Country fixed-effects]i + eit

Could anyone point out how I would code this into STATA for a panel data regression please? I plan to use FE/RE (depending on Hausman wu), but was stuck as some variables have t as a subscript and others do not, so was unsure if I could use xtreg commands