📄 mlopts.hlp
字号:
{smcl}
{* 10mar2005}{...}
{cmd:help mlopts}{right:also see: {help undocumented}}
{hline}
{title:Title}
{p 4 16 2}
{cmd:mlopts} {hline 2} Parsing tool for ml commands
{title:Syntax}
{phang2}
{cmd:mlopts}
{it:mlopts}
[{it:rest}]
[{cmd:,} {it:options} ]
{title:Description}
{pstd}
{cmd:mlopts} is a parsing tool that was written to assist in syntax checking
and parsing of estimation commands that use {cmd:ml}. The options specified
in {it:options} will be separated into groups and returned in local macros
specified by the caller. The names of the local macros are identified by
{it:mlopts} and {it:rest}.
{phang}
{it:mlopts} is required and will contain those options that the {cmd:ml}
command recognizes as {it:maximize} options. Options returned in {it:mlopts}
are:
{pmore}
{opt tr:ace}
{opt grad:ient}
{opt hess:ian}
{cmd:showstep}
{opt tech:nique(algorithm_specs)}
{cmd:vce(}{cmd:oim}|{cmd:opg}{cmd:)}
{opt iter:ate(#)}
{opt tol:erance(#)}
{opt ltol:erance(#)}
{opt gtol:erance(#)}
{opt nrtol:erance(#)}
{opt nonrtol:erance}
{opt shownrt:olerance}
{cmdab:dif:ficult}
{opt const:raints(clist|matname)}
{pmore}
For a description of the above options (except {cmd:constraints()}) see
{help maximize}. For a description of constraints see {helpb cnsreg} and
{helpb reg3}.
{phang}
{it:rest} is optional and, if specified, will contain all other options that
were not returned in {it:mlopts}. If {it:rest} is not specified, then any
extra options will cause an error.
{title:Some official Stata commands that use {cmd:mlopts}}
{pstd}
The following commands use {cmd:mlopts}. See help for
{pmore}
{helpb arch},
{helpb arima},
{helpb biprobit},
{helpb boxcox},
{helpb cloglog},
{helpb frontier},
{helpb glm},
{helpb gnbreg},
{helpb heckman},
{helpb heckprob},
{helpb hetprob},
{helpb intreg},
{helpb nbreg},
{helpb nlogit},
{helpb poisson},
{helpb rocfit},
{helpb scobit},
{helpb svar},
{helpb "svy: gnbreg"},
{helpb "svy: heckman"},
{helpb "svy: heckprob"},
{helpb "svy: intreg"},
{helpb "svy: logit"},
{helpb "svy: mlogit"},
{helpb "svy: nbreg"},
{helpb "svy: ologit"},
{helpb "svy: oprobit"},
{helpb "svy: poisson"},
{helpb "svy: probit"},
{helpb treatreg},
{helpb truncreg},
{helpb tssmooth},
{helpb xtcloglog},
{helpb xtfrontier},
{helpb xtintreg},
{helpb xtlogit},
{helpb xtnbreg},
{helpb xtpoisson},
{helpb xtprobit},
{helpb xtrchh},
{helpb xttobit},
{helpb zinb},
{helpb zip}
{title:Examples}
{pstd}
{cmd}. mlopts mlopts , constraints(1/3){text}
{pstd}
{cmd}. mlopts mlopts , constraints(1/3) junk{text}{break}
{err}option junk not allowed{break}
{txt}{search r(198):r(198);}
{pstd}
{cmd}. mlopts mlopts options , constraints(1/3) junk{text}{break}
{pstd}
{cmd}. sreturn list
{p 4 11 2}
{txt}macros:{break}
s(constraints) : "{res}1 2 3{txt}"
{title:Saved results}
{pstd}
{cmd:mlopts} saves in {cmd:s()}:
{pstd}
Macros:
{cmd:s(constraints)} contents of {cmd:constraints()} option
{cmd:s(technique)} contents of {cmd:technique()} option
{title:Also see}
{psee}
Online:
{help maximize}, {helpb ml}
{p_end}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -