📄 mlogit.dlg
字号:
/*
mlogit
*! VERSION 1.1.2 15mar2005
keyword: eclass
*/
VERSION 9.0
INCLUDE _std_large
INCLUDE header
HELP hlp1, view("help mlogit")
RESET res1
DIALOG main, tabtitle("Model") ///
label("mlogit - Multinomial (polytomous) logistic regression")
BEGIN
INCLUDE _dviv
CHECKBOX ck_nocons @ _ms @ ., /*
*/ label("Suppress constant term") /*
*/ option("noconstant") /*
*/
GROUPBOX gb_output _lft _ls _iwd _ht9, /*
*/ label("Options") /*
*/
CHECKBOX ck_base _ilft _ls _ckwd ., /*
*/ label("") /*
*/ clickon("gaction main.en_base.enable") /*
*/ clickoff("gaction main.en_base.disable") /*
*/
EDIT en_base _cksep @ _en7wd ., /*
*/ label("Base outcome") numonly /*
*/ option("baseoutcome") /*
*/
TEXT tx_base _en7sep @ _cken7r2b ., /*
*/ label("Base outcome") /*
*/
DEFINE _x _ilft
DEFINE _cx _ibwd
DEFINE _y _ls
INCLUDE _constraints
END
INCLUDE byifin
INCLUDE weights_fpi
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_rrr @ _ss @ ., /*
*/ label("Report relative-risk ratios") /*
*/ option(rrr) last
END
PROGRAM rpt_output
BEGIN
optionarg /hidedefault rpt.sp_level
option rpt.rb_rrr
END
INCLUDE max_internal
PROGRAM command
BEGIN
allowxi
INCLUDE _by_pr
put "mlogit "
varlist main.vn_dv [main.vl_iv]
if !main.vl_iv & main.ck_nocons {
stopbox stop `""Suppress constant term" is selected without independent variables."'
}
INCLUDE _weights_pr
INCLUDE _ifin_pr
beginoptions
option main.ck_nocons
if main.ck_base {
optionarg main.en_base
}
INCLUDE _constraints_main_pr
put " " /program se_output
put " " /program rpt_output
put " " /program max_output
endoptions
END
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -