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

📄 _vce_parserun.hlp

📁 是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到
💻 HLP
字号:
{smcl}
{* 01apr2005}{...}
{cmd:help _vce_parserun}{...}
{right:also see:  {help undocumented}}
{hline}

{title:Title}

{p 4 21 2}
{hi:_vce_parserun} {hline 2}
Parsing tool for the {opt vce()} option


{title:Syntax}

{phang2}
{cmd:_vce_parserun}
	{it:command_name} 
	[{cmd:,}
		{opt wtypes(weight_types)}
		{opt nojack:knife}
		{opt noboot:strap}
		{opt noother:vce}
		{opt notest}
		{opt panel:data}
		{opt st:data}
		{opt jkopts(jackknife_options)}
		{opt bootopts(bootstrap_options)}
		{opt robustok}
		{opt multivce}
	] {cmd::} {it:command}


{pstd}
where {it:command} is an estimation command that is assumed to follow
{help language:standard Stata syntax}.


{title:Description}

{pstd}
{cmd:_vce_parserun} is a programmers tool that helps estimation commands with
parsing the {opt vce()} option.  {cmd:_vce_parserun} takes on one of 3 actions
(provided there are not syntax errors):

{phang}
1.  When supplied with {cmd:vce(bootstrap)} or {cmd:vce(jackknife)},
{cmd:_vce_parserun} calls the corresponding prefix command--{helpb bootstrap}
or {helpb jackknife}--as a prefix to {it:command} and exits with the
{cmd:s(exit)} macro set to "{cmd:exit}".

{phang}
2.  If {it:command} is specified using the replay syntax, only options are
specified, {cmd:_vce_parserun} uses {it:command} to report the estimation
results and exits with the {cmd:s(exit)} macro set to "{cmd:exit}".

{phang}
3.  Otherwise {cmd:_vce_parserun} exits with the {cmd:s(exit)} macro set to the
empty string "".


{title:Options}

{phang}
{opt wtypes(weight_types)} specifies which weight types are allowed to be
specified in {it:command}, and also determines the default weight type.
{it:weight_types} is a list of weight types accepted by {helpb syntax}.
If {opt wtypes()} is not specified, the default is {cmd:wtypes(fw aw pw iw)}.

{phang}
{opt nojackknife} specifies that the {cmd:vce(jackknife)} option is not
allowed, resulting in an error message if it is an option of {it:command}.

{phang}
{opt nobootstrap} specifies that the {cmd:vce(bootstrap)} option is not
allowed, resulting in an error message if it is an option of {it:command}.

{phang}
{opt noother} specifies that only {cmd:vce(bootstrap)} and
{cmd:vce(jackknife)} are allowed, resulting in an error message if any other
{opt vce()} option is present in {it:command}.

{phang}
{opt notest} specifies that a {opt notest} option be passed to {cmd:bootstrap}
or {cmd:jackknife} if either of these prefix commands are executed.

{phang}
{opt paneldata} specifies that {it:command} is an {cmd:xt} estimation command,
and may require special parsing of the {opt i()} option.

{phang}
{opt stdata} specifies that {it:command} is an {cmd:st} estimation command,
and may require special parsing of the {opt cluster()} and {opt shared()}
options.  {opt stdata} also prevents {cmd:_vce_parserun} from reporting the
current estimation (item 2. in the above Description section).

{phang}
{opt jkopts(jackknife_options)} specifies prefix options to be passed to
{cmd:jackknife} if {cmd:vce(jackknife)} is an option of {it:command}.

{phang}
{opt bootopts(bootstrap_options)} specifies prefix options to be passed to
{cmd:bootstrap} if {cmd:vce(bootstrap)} is an option of {it:command}.

{phang}
{opt robust} specifies that the {it:robust} option is allowed when
{cmd:vce(bootstrap)} and {cmd:vce(jackknife)} are not specified.  By default,
{cmd:_vce_parserun} exits with an error message when both {opt robust} and
{opt vce()} option are specified.

{phang}
{opt multivce} specifies that more than one {opt vce()} option is allowed.
Some error checking is performed, but it is the programmers responsibility to
validate the specified combination of {opt vce()} options.


{title:Some official Stata commands that use _vce_parserun}

{pstd}
The following estimation commands use {cmd:_vce_parserun}:

{pmore}
{helpb areg},
{helpb asmprobit},
{helpb binreg},
{helpb biprobit},
{helpb blogit},
{helpb bprobit},
{helpb clogit},
{helpb cloglog},
{helpb cnreg},
{helpb cnsreg},
{helpb dprobit},
{helpb frontier},
{helpb glm},
{helpb glogit},
{helpb gnbreg},
{helpb gprobit},
{helpb heckman},
{helpb heckprob},
{helpb hetprob},
{helpb intreg},
{helpb ivprobit},
{helpb ivreg},
{helpb ivtobit},
{helpb logistic},
{helpb logit},
{helpb mlogit},
{helpb mprobit},
{helpb nbreg},
{helpb ologit},
{helpb oprobit},
{helpb poisson},
{helpb probit},
{helpb regress},
{helpb scobit},
{helpb slogit},
{helpb stcox},
{helpb streg},
{helpb tobit},
{helpb treatreg},
{helpb truncreg},
{helpb xtabond},
{helpb xtcloglog},
{helpb xtfrontier},
{helpb xtgee},
{helpb xthtaylor},
{helpb xtintreg},
{helpb xtivreg},
{helpb xtlogit},
{helpb xtnbreg},
{helpb xtpoisson},
{helpb xtprobit},
{helpb xtrc},
{helpb xtreg},
{helpb xttobit},
{helpb zinb},
{helpb zip},
{helpb ztnb},
{helpb ztp}


{title:Saved results}

{pstd}
{cmd:_vce_parserun} saves in {cmd:s()}:

{p2colset 9 24 32 2}{...}
{pstd}Macros:{p_end}
{p2col :{cmd:s(exit)}}"{bf:exit}" or ""{p_end}
{p2colreset}{...}


{title:Also see}

{psee}
Online:
{helpb syntax},
{it:{help vce_option}}
{p_end}

⌨️ 快捷键说明

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