📄 svy_ivreg.dlg
字号:
/*
svy: ivreg
*! VERSION 1.1.2 15mar2005
keyword: eclass
*/
VERSION 9.0
INCLUDE _std_large
INCLUDE _ht320
INCLUDE header
HELP hlp1, view("help svy: ivreg")
RESET res1
DIALOG main, tabtitle("Model") ///
label("svy: ivreg - Instrumental variables regression for survey data")
BEGIN
INCLUDE _dviv
CHECKBOX ck_nocons @ _ms @ ., /*
*/ label("Suppress constant term") /*
*/ option("noconstant") /*
*/
TEXT tx_vars2 _lft _ms _iwd ., /*
*/ label("Endogenous variables:") /*
*/
VARLIST vl_vars2 @ _ss @ ., /*
*/ label("Endogenous variables") /*
*/ allowcat /*
*/
TEXT tx_ivars _lft _ls _iwd ., /*
*/ label("Instrument variables:") /*
*/
VARLIST vl_ivars @ _ss @ ., /*
*/ label("Instrument variables") /*
*/ allowcat /*
*/
DEFINE _x _xsetbu
DEFINE _y 290
INCLUDE _bu_svyset
END
PROGRAM main_sub_output
BEGIN
varlist main.vl_vars2
put "="
varlist main.vl_ivars
END
INCLUDE svy_subpop_model
INCLUDE svy_se
INCLUDE svy_rpt
PROGRAM svy_options
BEGIN
beginoptions
put " " /program svy_subpop_output
put " " /program svy_se_output
put " " /program svy_rpt_output
endoptions
END
SCRIPT POSTINIT
BEGIN
script svy_rpt_setViewAsFirst
END
PROGRAM command
BEGIN
allowxi
put "svy"
put /program svy_options
put ": ivreg "
varlist main.vn_dv [main.vl_iv]
put "("
put /program main_sub_output
put ")"
if !main.vl_iv & main.ck_nocons {
stopbox stop ///
`""Suppress constant term" is selected without independent variables."'
}
if subpop.ck_ifin {
put " " /program ifin_output
}
beginoptions
option main.ck_nocons
put " " /program svy_rpt_cmdoutput
endoptions
END
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -