⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 svydes.dlg

📁 是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到
💻 DLG
字号:
/*
  svydes

*!  VERSION 1.1.2  20may2005

*/

VERSION 9.0
SYNCHRONOUS_ONLY

INCLUDE _std_medium
INCLUDE header

HELP hlp1, view("help svydes")
RESET res1

DIALOG main, label("svydes - Describe survey data") tabtitle("Main")
BEGIN
  TEXT     tx_vars   _lft      _top      _iwd      .,			///
	label("Variables to describe: (optional)")
  VARLIST  vl_vars   _lft      _ss       _iwd      .,			///
	label("Variables to describe")

  SPINNER  sp_stage  _lft      _ls       _spwd     .,			///
		label("Stage")						///
		min(1)							///
		option(stage)

  TEXT     tx_stage  _spsep    @         _spr       .,			///
		label("Stage")

  CHECKBOX ck_final  _lft      _ls       _iwd      .,			///
	option(finalstage)						///
	onclickon(script final_on)					///
	onclickoff(script final_off)					///
	label("Display information per single sampling unit in the final stage")

  CHECKBOX ck_single _lft      _ms       _iwd      .,			///
	label("Display only the strata with a single sampling unit")	///
	option(single)

  TEXT     tx_gen    _lft      _ls       _iwd      .,			///
	label("Generate a variable identifying strata with a single sampling unit:")
  EDIT     ed_gen    @         _ss       _vnwd     .,			///
	option(generate)						///
	max(32)								///
	label("Generate a variable identifying strata with a single sampling unit")

  DEFINE _x _xsetbu
  DEFINE _y 220
  INCLUDE _bu_svyset
END

SCRIPT main_POSTINIT
BEGIN
	program main_get_stages
END

PROGRAM main_get_stages
BEGIN
	put "_svydes_dlg"
	stata hidden
END

SCRIPT final_on
BEGIN
	main.sp_stage.disable
	main.tx_stage.disable
	main.ck_single.disable
	main.tx_gen.disable
	main.ed_gen.disable
END
SCRIPT final_off
BEGIN
	main.sp_stage.enable
	main.tx_stage.enable
	main.ck_single.enable
	main.tx_gen.enable
	main.ed_gen.enable
END

INCLUDE ifin

PROGRAM command
BEGIN
	put "svydes "
	varlist [main.vl_vars]
	INCLUDE _ifin_pr
	beginoptions
		optionarg /hidedefault main.sp_stage
		option main.ck_final
		option main.ck_single
		optionarg main.ed_gen
	endoptions
END

⌨️ 快捷键说明

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