_ivreg_project.ado
来自「是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到」· ADO 代码 · 共 35 行
ADO
35 行
*! version 1.0.0 03jan2005
program _ivreg_project
version 9
syntax [pw iw] [if]
if "`weight'" != "" {
local wt `"[iw`exp']"'
}
local instd `e(instd)'
local insts `e(insts)'
tempname hold
estimates store `hold'
capture noisily quietly {
foreach y of local instd {
tempvar newy
regress `y' `insts' `wt' `if'
_predict double `newy' if e(sample)
replace `newy' = 0 if missing(`newy')
drop `y'
rename `newy' `y'
}
} // capture noisily quietly
nobreak {
local rc = c(rc)
estimates restore `hold', drop
} // nobreak
exit `rc'
end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?