svy_mlogit.dlg

来自「是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到」· DLG 代码 · 共 90 行

DLG
90
字号
/*
  svy: mlogit

*! VERSION 1.1.2  15mar2005

  keyword:  eclass

*/

VERSION 9.0

INCLUDE _std_large
INCLUDE _ht330
INCLUDE header

HELP hlp1, view("help svy: mlogit")
RESET res1

DIALOG main, tabtitle("Model") ///
	label("svy: mlogit - Multinomial logistic regression for survey data")
BEGIN
  INCLUDE _dviv

  CHECKBOX ck_nocons @         _ms       @         .,		///
	label("Suppress constant term") option(noconstant)

  GROUPBOX gb_output _lft      _xls      _iwd      _ht9h,	///
	label("Options")

  TEXT     tx_base   _ilft     _ss       _inwd     .,		///
	label("Base category:")
  EDIT     en_base   @         _ss       _en14wd   .,		///
	label("Base category")					///
	option(basecategory)					///
	numonly

  DEFINE _x _ilft
  DEFINE _cx _ibwd
  DEFINE _y _ls
  INCLUDE _constraints

  DEFINE _x _xsetbu
  DEFINE _y 300
  INCLUDE _bu_svyset

END

INCLUDE svy_subpop_model
INCLUDE svy_se
INCLUDE svy_rpt
INCLUDE max_internal

SCRIPT POSTINIT
BEGIN
	script svy_rpt_setViewAsRRR
	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 ": 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."'
	}
	if subpop.ck_ifin {
		put " " /program ifin_output
	}
	beginoptions
		option main.ck_nocons
		optionarg main.en_base
		INCLUDE _constraints_main_pr
		put " " /program svy_rpt_cmdoutput
		put " " /program max_output
	endoptions
END

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?