📄 _svy_ivreg_first.ado
字号:
*! version 1.0.0 30mar2005
program _svy_ivreg_first
version 9
syntax [, * ]
local instd `e(instd)'
local insts `e(insts)'
di
di as txt "First-stage regression"
di as txt "{hline 23}"
capture local xx = _b[_cons]
if (c(rc)) local nocons noconstant
nobreak {
capture noisily break {
tempvar doit
quietly gen byte `doit' = e(sample)
if `"`e(subpop)'"' != "" {
local subopt `"subpop(`e(subpop)')"'
}
tempname results
_est hold `results', restore
foreach y of local instd {
svy linearized, `options' `subopt': ///
regress `y' `insts' if `doit', `nocons'
}
} // capture noisily break
local rc = c(rc)
_est unhold `results'
} // nobreak
di
exit `rc'
end
exit
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -