Dear all
I am using the user written command XTPMG in Stata. Actually, i am using in my regression residuals obtained from a previous estimation. I want to use the boostrap to make sure that i have the right standards errors. Unfortunately, i wasn't able to do that using the standard Bootstrap command in Stata: here below is my code
bootstrap, rep(100): xtpmg d.lshrgdpr d.lshrgdpr1 d.lshrgdpr2 d.lshrgdpr3 d.lshrgdpr4 d.stdresid d.stdresid1 d.stdresid2 d.stdresid3 d.stdresid4 d.stdresid d.lshrtpils1 d.lshrtpils2 d.lshrtpils3 d.lshrtpils4 , lr(l.lshrgdpr lshtc lshrtpils) ec(mu) replace mg
in this equation, lshrgdpr is the log of real GDP and stdresid is the residuals that capture a discretionary fiscal policy, lshrtpils is log of taxes. I also use 4 lags for each variable.
I would like to know if there is a way to correct the standards errors after XTPMG in this type of situation. Thank you
THIERRY YOGO, Ph.D,
I am using the user written command XTPMG in Stata. Actually, i am using in my regression residuals obtained from a previous estimation. I want to use the boostrap to make sure that i have the right standards errors. Unfortunately, i wasn't able to do that using the standard Bootstrap command in Stata: here below is my code
bootstrap, rep(100): xtpmg d.lshrgdpr d.lshrgdpr1 d.lshrgdpr2 d.lshrgdpr3 d.lshrgdpr4 d.stdresid d.stdresid1 d.stdresid2 d.stdresid3 d.stdresid4 d.stdresid d.lshrtpils1 d.lshrtpils2 d.lshrtpils3 d.lshrtpils4 , lr(l.lshrgdpr lshtc lshrtpils) ec(mu) replace mg
in this equation, lshrgdpr is the log of real GDP and stdresid is the residuals that capture a discretionary fiscal policy, lshrtpils is log of taxes. I also use 4 lags for each variable.
I would like to know if there is a way to correct the standards errors after XTPMG in this type of situation. Thank you
THIERRY YOGO, Ph.D,
Comment