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

📄 pnorm_7.ado

📁 是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到
💻 ADO
字号:
*! version 2.1.7  24sep2004
program define pnorm_7, sort
	version 6, missing
	syntax varname [if] [in] [, /*
		*/ Symbol(string) noBorder Connect(string) /*
		*/ YLAbel(string) XLAbel(string) Grid * ]
	if "`symbol'"=="" { local symbol "oi" } 
	else { local symbol "`symbol'i" }
	if "`connect'"=="" { local connect ".l" }
	else { local connect "`connect'l" }
	if "`ylabel'"=="" { local ylabel "0,.25,.5,.75,1" }
	if "`xlabel'"=="" { local xlabel "0,.25,.5,.75,1" }
	if "`grid'"!="" {
		local options "`options' yline(.25,.5,.75) xline(.25,.5,.75)"
	}
	tempvar touse F Psubi
	quietly { 
		gen byte `touse' = cond(`varlist'>=.,.,1) `if' `in'
		sort `varlist' 
		sum `varlist' if `touse'==1
		gen float `F' = normprob((`varlist'-r(mean)) /* 
			*/ /sqrt(r(Var))) if `touse'==1
		gen float `Psubi' = sum(`touse')
		replace `Psubi' = cond(`F'>=.,.,`Psubi'/(`Psubi'[_N]+1))
	}
	label var `F' "Normal F[(`varlist'-m)/s]"
	label var `Psubi' "Empirical P[i] = i/(N+1)"
	format `F' `Psubi' %9.2f
	if "`border'"=="" { local b "border" }
	gr7 `F' `Psubi' `Psubi', c(`connect') s(`symbol') /*
		*/ ylab(`ylabel') xlab(`xlabel') `b' `options'
end

⌨️ 快捷键说明

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