📄 svyopts.hlp
字号:
{smcl}
{* 25sep2003 / 20mar2005}{...}
{* This is not the modern way to deal with making a command svyable}{...}
{* We no longer link to/from undocumented.hlp}{...}
{hline}
help for {hi:svyopts}{right:undocumented}
{hline}
{title:Parsing tool for survey commands}
{p 8 12 2}
{cmd:svyopts}
{it:modopts}
{it:diopts}
[ {it:rest} ]
[{cmd:,} {it:options} ]
{title:Description}
{p 4 4 2}
{cmd:svyopts} is a parsing tool that was written to assist in syntax checking
and parsing of survey 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:modopts}, {it:diopts} and {it:rest}.
{p 4 8 2}
{it:modopts} is required and will contain those options that the {cmd:ml}
command recognizes as {cmd:svy} options.
Options returned in {it:modopts} are:
{p 8 8 2}
{cmdab:nosvy:adjust}
{cmdab:sc:ore:(}{it:newvarlist}|{it:stub}*{cmd:)}
{cmdab:sub:pop:(}{it:subpop_spec}{cmd:)}
{cmdab:srs:subpop}
{p 8 8 2}
For a description of the above options see {help ml}.
{p 4 8 2}
{it:diopts} is required and will contain options that affect the display of
output.
Options returned in {it:diopts} are:
{p 8 8 2}
{cmdab:l:evel:(}{it:#}{cmd:)}
{cmd:deff}
{cmd:deft}
{cmd:meff}
{cmd:meft}
{cmdab:ef:orm}
{cmdab:p:rob}
{cmd:ci}
{cmdab:noh:eader}
{p 8 8 2}
For a description of the above options see {help ml}.
{p 4 8 2}
{it:rest} is optional and, if specified, will contain all other options that
were not returned in {it:modopts} or {it:diopts}. If {it:rest} is not
specified, then any extra options will cause an error.
{title:Some official Stata commands that use {cmd:svyopts}}
{p 4 4 2}
The following commands use {cmd:svyopts}. See help for
{p 8 8 2}
{help svygnbreg},
{help svyheckman},
{help svyheckprob},
{help svyintreg},
{help svynbreg},
{help svypoisson}
{title:Examples}
{p 4 4 2}
{cmd}. svyopts mlopts diopts , eform subpop(sub){text}
{p 4 4 2}
{cmd}. svyopts mlopts diopts , junk eform subpop(sub){text}{break}
{err}option junk not allowed{break}
{txt}{search r(198):r(198);}
{p 4 4 2}
{cmd}. svyopts mlopts diopts rest , junk eform subpop(sub){text}{break}
{title:Saved results}
{p 4 4 2}
{cmd:svyopts} saves in {cmd:s()}:
{p 4 4 2}
Macros:
{cmd:s(meff)} {cmd:meff}, {cmd:meft} or both if supplied
{cmd:s(subpop)} {it:varname} from {cmd:subpop()} option
{title:Also see}
{p 4 13 2}
Online: help for
{help svy}
{p_end}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -