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

📄 irf_create.ado

📁 是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到
💻 ADO
字号:
*! version 1.0.1  15jul2004
program define irf_create, 
	version 8.2

	syntax name(id="irfname" name=irfname)		///
		[ , 					///
		ESTimates(string) *			///
		]


	if `"`estimates'"' != "" {
		tempname esamp ename
		_estimates hold `ename', restore nullok	varname(`esamp')
		capture estimates restore `estimates'
		if _rc > 0 {
			di as err "cannot restore `estimates'"
			exit 498
		}
	}

	local cmd "`e(cmd)'"
	
	if "`cmd'" == "var" | "`cmd'" == "svar" {
		varirf create `irfname', `options'
		exit		
	}

	if "`cmd'" == "vec" {
		vecirf_create `irfname', `options'
		exit		
	}

	if "`cmd'" == "" {
		di as err "estimates not found"
		exit 301
	}

	di as err "cannot compute IRFs after {cmd:`cmd'}"
	exit 198
end

exit

⌨️ 快捷键说明

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