方程是:Dyt = a+ b0Dxt + g1Dyt-1 + p1yt-1 +p2xt-1 + vt (t from 2003 to 2008)
我尝试使用这个指令: reg d.exrgas exrhsi d.exrgas[_n-1] exrgas[_n-1] exrhsi[_n-1]
但是结果是_n unknown weight type
所以请问如何表示用stata上一期的数据?
之后我还需要用产生的coefficient 和Dxt , Dyt-1,yt-1 , xt-1 (t from 2009 to 2013) 去计算Dyt (t from 2009 to 2013), 请问这一步要怎么用stata 实现?