📄 reg3_p.dlg
字号:
/*
predict (after reg3)
*! VERSION 1.1.1 28mar2005
*/
VERSION 9.0
INCLUDE _std_large
INCLUDE _ht290
INCLUDE header
HELP hlp1, view("help reg3 postestimation")
RESET res1
DIALOG main, label("predict - Prediction after estimation") tabtitle("Main")
BEGIN
INCLUDE _p_gentype
GROUPBOX gb_opts _lft _ls _iwd _ht19, /*
*/ label("Produce:")
RADIO rb_xb _ilft _ss _cwd2 ., first /*
*/ option(xb) /*
*/ clickon("script off2") /*
*/ label("Fitted values (xb)")
DEFINE holdy@y
RADIO rb_stdp @ _ms @ ., /*
*/ option(stdp) /*
*/ clickon("script off2") /*
*/ label("Standard error of the prediction")
RADIO rb_residuals @ _ms @ ., /*
*/ option(residuals) /*
*/ clickon("script off2") /*
*/ label("Residuals")
RADIO rb_difference @ _ms @ ., /*
*/ option(difference) /*
*/ clickon("script on2") /*
*/ label("Difference between fitted values")
RADIO rb_stddp @ _ms @ ., last /*
*/ option(stddp) /*
*/ clickon("script on2") /*
*/ label("Standard error of the difference")
TEXT tx_equation1 _lft2 holdy @ ., /*
*/ label("Equation (dependent variable):")
LISTBOX lb_equation1 @ _ss @ _ht4, /*
*/ contents(ereturn eqnames) /*
*/ label("Equation (dependent variable)")
TEXT tx_equation2 @ _vs4 @ ., /*
*/ label("Compared to equation (dep. var.):")
LISTBOX lb_equation2 @ _ss @ _ht4, /*
*/ contents(ereturn eqnames) /*
*/ label("Compared to equation (dep. var.)")
END
INCLUDE _p_gentype_sc
INCLUDE ifin
INCLUDE _type_list_fd
SCRIPT off2
BEGIN
main.tx_equation2.disable
main.lb_equation2.disable
END
SCRIPT on2
BEGIN
main.tx_equation2.enable
main.lb_equation2.enable
END
PROGRAM command
BEGIN
put "predict "
put " " /program _p_gentype_output
INCLUDE _ifin_pr
beginoptions
put "equation("
require main.lb_equation1
put main.lb_equation1
if main.rb_difference | main.rb_stddp {
require main.lb_equation2
put ", " main.lb_equation2
}
put ") "
option radio(main rb_xb rb_stdp rb_residuals /*
*/ rb_difference rb_stddp)
endoptions
END
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -