📄 blogit.dlg
字号:
/*
blogit
*! VERSION 1.1.1 15mar2005
keyword: eclass
*/
VERSION 9.0
INCLUDE _std_large
INCLUDE header
HELP hlp1, view("help blogit")
RESET res1
DIALOG main, label("blogit - Logistic regression for grouped data") ///
tabtitle("Model")
BEGIN
TEXT tx_pos _lft _top _cwd1 ., ///
label("Outcome variable:")
VARNAME vn_pos @ _ss _vnwd ., ///
label("Outcome variable")
TEXT tx_pop _vlx _top _cwd1 ., ///
label("Population variable:")
VARNAME vn_pop @ _ss _vnwd ., ///
label("Population variable")
TEXT tx_iv _lft _ls _iwd ., ///
label("Independent variables:")
VARLIST vl_iv @ _ss @ ., ///
label("Independent variables") allowcat
CHECKBOX ck_nocons @ _ms _cwd1 ., ///
label("Suppress constant term") ///
option(noconstant)
CHECKBOX ck_asis @ _ms @ ., ///
label("Retain perfect predictor variables") ///
option(asis)
TEXT tx_offset @ _ls _cwd2 ., ///
label("Offset variable: (optional)")
VARNAME vn_offset @ _ss _vnwd ., ///
label("Offset variable") ///
option(offset)
END
INCLUDE byifin
INCLUDE se
SCRIPT PREINIT
BEGIN
script se_createAsInternalML
END
DIALOG rpt, tabtitle("Reporting")
BEGIN
DEFINE _x _lft
DEFINE _cx _spr
DEFINE _y _top
INCLUDE _sp_level
RADIO rb_default _lft _ls _cwd1 ., ///
label("Report coefficients (default)") first
RADIO rb_or @ _ss @ ., ///
label("Report odds ratios") ///
option(or) last
END
INCLUDE max_internal
SCRIPT POSTINIT
BEGIN
script max_setDefaultNoLog
END
PROGRAM command
BEGIN
allowxi
INCLUDE _by_pr
put "blogit "
require main.vn_pos
put main.vn_pos " "
require main.vn_pop
put main.vn_pop " "
put main.vl_iv " "
if !main.vl_iv & main.ck_nocons {
stopbox stop `""Suppress constant term" is selected without independent variables."'
}
INCLUDE _ifin_pr
beginoptions
option main.ck_nocons
option main.ck_asis
optionarg main.vn_offset
put " " /program se_output
optionarg /hidedefault rpt.sp_level
option rpt.rb_or
put " " /program max_output
endoptions
END
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -