📄 hetprob.dlg
字号:
/*
hetprob
*! VERSION 1.1.1 21feb2005
keyword: eclass
*/
VERSION 9.0
INCLUDE _std_large
INCLUDE _ht330
INCLUDE header
HELP hlp1, view("help hetprob")
RESET res1
DIALOG main, tabtitle("Model") ///
label("hetprob - Heteroskedastic probit regression")
BEGIN
INCLUDE _dviv
CHECKBOX ck_nocons @ _ms @ ., /*
*/ label("Suppress constant term") /*
*/ option("noconstant") /*
*/
TEXT tx_het _lft _ls _iwd ., /*
*/ label("Independent variables to model the variance:")/*
*/
VARLIST vl_het @ _ss @ ., /*
*/ label("Independent variables to model the variance") /*
*/ allowcat /*
*/
GROUPBOX gb_output _lft _ls _iwd _ht14h, /*
*/ label("Options") /*
*/
TEXT tx_offset _ilft _ms _cwd2 ., /*
*/ label("Offset variable:") /*
*/
VARNAME vn_offset _ilft _ss _vnwd ., /*
*/ label("Offset variable") /*
*/ option("offset") /*
*/
CHECKBOX ck_asis _lft2 @ _cwd2 ., /*
*/ label("Retain perfect predictor variables") /*
*/ option("asis") /*
*/
TEXT tx_hetoff _ilft _ms _cwd2 ., /*
*/ label("Variance model offset variable:") /*
*/
VARNAME vn_hetoff @ _ss _vnwd ., /*
*/ label("Variance model offset variable") /*
*/ option("offset") /*
*/
DEFINE _x _ilft
DEFINE _cx _ibwd
DEFINE _y _ms
INCLUDE _constraints
END
INCLUDE byifin
INCLUDE weights_fpi
INCLUDE se
SCRIPT PREINIT
BEGIN
script se_createAsJknifeBstrapML
END
DIALOG rpt, tabtitle("Reporting")
BEGIN
DEFINE _x _lft
DEFINE _cx _spr2b
DEFINE _y _top
INCLUDE _sp_level
GROUPBOX gb_tests _lft _xls _iwd _ht4h, /*
*/ label("Additional test statistics")
CHECKBOX ck_noskip _ilft _ss _cwd2 ., /*
*/ label("Perform likelihood-ratio test") /*
*/ option("noskip") /*
*/
CHECKBOX ck_nolrt @ _ms @ ., /*
*/ label("Perform Wald test on variance") /*
*/ option("nolrtest") /*
*/
END
PROGRAM rpt_output
BEGIN
optionarg /hidedefault rpt.sp_level
option rpt.ck_noskip
option rpt.ck_nolrt
END
INCLUDE max_ml
PROGRAM subcommand
BEGIN
varlist main.vl_het
beginoptions
optionarg main.vn_hetoff
endoptions
END
PROGRAM command
BEGIN
allowxi
INCLUDE _by_pr
put "hetprob "
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
put "het("
put /program subcommand
put ")"
optionarg main.vn_offset
option main.ck_asis
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 + -