📄 svy_gnbreg.dlg
字号:
/*
svy: gnbreg
*! VERSION 1.1.2 17mar2005
keyword: eclass
*/
VERSION 9.0
INCLUDE _std_glm
INCLUDE _ht330
INCLUDE header
HELP hlp1, view("help svy: gnbreg")
RESET res1
DIALOG main, tabtitle("Model") ///
label("svy: gnbreg - Generalized negative binomial regression for survey data")
BEGIN
INCLUDE _dviv
CHECKBOX ck_nocons @ _ms _cwd2 ., /*
*/ label("Suppress constant term") /*
*/ option("noconstant") /*
*/
GROUPBOX gb_opt _lft _ls _iwd _ht15, /*
*/ label("Options") /*
*/
TEXT tx_lnalph _ilft _ss _inwd ., /*
*/ label("Dispersion model variables:") /*
*/
VARLIST vl_lnalph @ _ss @ ., /*
*/ label("Dispersion model variables") /*
*/ allowcat /*
*/ option("lnalpha") /*
*/
RADIO rb_expose _ilft _ls _cwd3_2 ., /*
*/ label("Exposure variable:") /*
*/ first /*
*/ clickon("script expose") /*
*/
RADIO rb_offset _lft3_2 @ @ ., /*
*/ label("Offset variable:") /*
*/ last /*
*/ clickon("script offset") /*
*/
VARNAME vn_expose _ilft _ss @ ., /*
*/ label("Exposure variable") /*
*/ option("exposure") /*
*/
VARNAME vn_offset _lft3_2 @ @ ., /*
*/ label("Offset variable") /*
*/ option("offset") /*
*/
DEFINE _x _ilft
DEFINE _cx _ibwd
DEFINE _y _ls
INCLUDE _constraints
DEFINE _x _xsetbu
DEFINE _y 300
INCLUDE _bu_svyset
END
SCRIPT expose
BEGIN
main.vn_expose.enable
main.vn_offset.disable
END
SCRIPT offset
BEGIN
main.vn_expose.disable
main.vn_offset.enable
END
INCLUDE svy_subpop_model
INCLUDE svy_se
INCLUDE svy_rpt
INCLUDE max_ml
SCRIPT POSTINIT
BEGIN
script svy_rpt_setViewAsIRR
script max_setDefaultNoLog
END
PROGRAM svy_options
BEGIN
beginoptions
put " " /program svy_subpop_output
put " " /program svy_se_output
put " " /program svy_rpt_output
endoptions
END
PROGRAM command
BEGIN
allowxi
put "svy"
put /program svy_options
put ": gnbreg "
varlist main.vn_dv [main.vl_iv]
if subpop.ck_ifin {
put " " /program ifin_output
}
if !main.vl_iv & main.ck_nocons {
stopbox stop ///
`""Suppress constant term" is selected without independent variables."'
}
beginoptions
option main.ck_nocons
optionarg main.vl_lnalph
optionarg main.vn_expose
optionarg main.vn_offset
INCLUDE _constraints_main_pr
put " " /program svy_rpt_cmdoutput
put " " /program max_output
endoptions
END
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -