有些命令无法接受 L.x 这种表示滞后项的写法,可采用如下方式变通之:
gen lagx = L.x
sw reg y lagx
至于你的第二个问题,可以先看 help sw
options description
------------------------------------------------------------------------------------------
Model
* pr(#) significance level for removal from the model
* pe(#) significance level for addition to the model