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

📄 nlpred.ado

📁 是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到
💻 ADO
字号:
*! version 1.1.5  21dec1998
program define nlpred
	version 6
	if "`e(cmd)'"!="nl" { error 301 } 
	syntax newvarlist [if] [in] [, Resid]
	tempvar new touse
	mark `touse' `if' `in'

	quietly {
		local k 1
		while `k' <= e(k) { 
			local word : word `k' of `e(params)'
			global `word' = _b[`word']
			local k=`k'+1
		}
		gen double `new' = .
		nl`e(function)' `new' `e(f_args)', `e(options)'
		replace `new' = . if !`touse'
		if "`resid'"!="" {
			if e(log_t) {
				replace `new'=ln((`e(depvar)'-e(lnlsq))/ /*
				*/ (`new'-e(lnlsq)))
			}
			else replace `new'=`e(depvar)'-`new'
		}
	}
	generate `typlist' `varlist' = `new' if `touse'
end

⌨️ 快捷键说明

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