Stata 15 help for _vce_parserun

Title

[P] _vce_parserun -- Parsing tool for options vce(bootstrap) and vce(jackknife)

Syntax

_vce_parserun command_name [, options ] : command

where command is an estimation command that is assumed to follow standard Stata syntax.

options Description ------------------------------------------------------------------------- wtypes(weight_types) allowed weight types; default is fw aw pw iw nobootstrap vce(bootstrap) is not allowed nojackknife vce(jackknife) is not allowed noothervce only vce(bootstrap) and vce(jackknife) are allowed notest pass notest option to calls of bootstrap and jackknife paneldata parse xt settings and related options stdata parse st settings and related options bootopts(bootstrap_options) passthru options for calls to bootstrap jkopts(jackknife_options) passthru options for calls to jackknife robustok allow the robust option multivce allow multiple vce() options

requiredopts(opt_name) named options with arguments that are required when vce(bootstrap) or vce(jackknife) is specified noeqlist do not use _eqlist to parse command _eqlist options passthru options to _eqlist routines ------------------------------------------------------------------------- opt_name is the name of an option. Use capital letters to specify minimum abbreviations as in syntax.

Description

_vce_parserun is a programmer's tool that helps estimation commands parse the vce() option. _vce_parserun takes on one of three actions (provided there are no syntax errors):

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

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

3. Otherwise, _vce_parserun exits with the s(exit) macro set to the empty string "".

Options

wtypes(weight_types) specifies which weight types are allowed to be specified in command and determines the default weight type. weight_types is a list of weight types accepted by syntax. If wtypes() is not specified, the default is wtypes(fw aw pw iw).

nobootstrap specifies that the vce(bootstrap) option is not allowed, resulting in an error message if it is an option of command.

nojackknife specifies that the vce(jackknife) option is not allowed, resulting in an error message if it is an option of command.

noothervce specifies that only vce(bootstrap) and vce(jackknife) are allowed, resulting in an error message if any other vce() option is present in command.

notest specifies that a notest option be passed to bootstrap or jackknife if either of these prefix commands are executed.

paneldata specifies that command is an xt estimation command, and may require special parsing of the i() option.

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

bootopts(bootstrap_options) specifies prefix options to be passed to bootstrap if vce(bootstrap) is an option of command.

jkopts(jackknife_options) specifies prefix options to be passed to jackknife if vce(jackknife) is an option of command.

robustok specifies that the robust option is allowed when vce(bootstrap) and vce(jackknife) are not specified. By default, _vce_parserun exits with an error message when both robust and vce() options are specified.

multivce specifies that more than one vce() option is allowed. Some error checking is performed, but it is the programmer's responsibility to validate the specified combination of vce() options.

requiredopts(opt_name) identifies required options with arguments to search for when vce(bootstrap) or vce(jackknife) is specified.

noeqlist specifies that command should not be parsed by an _eqlist object.

Some official Stata commands that use _vce_parserun

The following estimation commands use _vce_parserun:

areg, asmprobit, binreg, biprobit, blogit, bprobit, clogit, cloglog, cnreg, cnsreg, etpoisson, etregress, frontier, glm, glogit, gnbreg, gprobit, heckman, heckprobit, hetprobit, hetregress, intreg, ivprobit, ivregress, ivtobit, logistic, logit, mlogit, mprobit, nbreg, nl, ologit, oprobit, poisson, probit, regress, scobit, slogit, stcox, streg, tnbreg, tobit, tpoisson, truncreg, xtabond, xtcloglog, xtfrontier, xtgee, xthtaylor, xtintreg, xtivreg, xtlogit, xtnbreg, xtpoisson, xtprobit, xtrc, xtreg, xttobit, zinb, zip

Stored results

_vce_parserun stores the following in s():

Macros: s(exit) "exit" or ""


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index