📄 ratio.hlp
字号:
{smcl}
{* 18mar2005}{...}
{cmd:help ratio} {right:dialog: {bf:{dialog ratio}}{space 15}}
{right:also see: {help ratio postestimation}}
{hline}
{title:Title}
{p2colset 5 18 20 2}{...}
{p2col :{hi:[R] ratio} {hline 2}}Estimate ratios{p_end}
{p2colreset}{...}
{title:Syntax}
{phang}
Basic syntax
{p 8 17 2}
{cmd:ratio} [{it:name}{cmd::}] {it:varname} [{cmd:/}] {it:varname}
{phang}
Full syntax
{p 8 13 2}
{cmd:ratio} {cmd:(}[{it:name}{cmd::}] {it:varname} [{cmd:/}]
{it:varname}{cmd:)}{break}
[{cmd:(}[{it:name}{cmd::}] {it:varname} [{cmd:/}] {it:varname}{cmd:)} ...]
{ifin} [{cmd:,} {it:options}]
{synoptset 26 tabbed}{...}
{synopthdr}
{synoptline}
{syntab:Model}
{synopt :{opth std:ize(varname)}}variable identifying strata for standarization{p_end}
{synopt :{opth stdw:eight(varname)}}weight variable for standarization{p_end}
{synopt :{opt nostdr:escale}}do not rescale the standard weight variable{p_end}
{syntab:if/in/over}
{synopt :{cmd:over(}{it:{help varlist}}[{cmd:,} {opt nolab:el}]{cmd:)}}group over
subpopulations defined by {it:varlist}, optionally, suppress group labels{p_end}
{syntab:SE/Cluster}
{synopt :{opth vce(vcetype)}}{it:vcetype} may be {opt boot:strap} or {opt jack:knife}{p_end}
{synopt :{opth cl:uster(varname)}}adjust standard errors for intragroup
correlation{p_end}
{syntab:Reporting}
{synopt :{opt l:evel(#)}}set confidence level; default is {cmd:level(95)}{p_end}
{synopt :{opt noh:eader}}suppress the table header{p_end}
{synopt :{opt nol:egend}}suppress the table legend{p_end}
{synoptline}
{p2colreset}{...}
{p 4 6 2}{cmd:svy} may be used with {cmd:ratio}; see {helpb "svy: ratio"}.{p_end}
{p 4 6 2}{cmd:fweight}s, {cmd:pweight}s, and {cmd:iweight}s are
allowed; see {help weight}.{p_end}
{p 4 6 2}See {help ratio postestimation} for additional capabilities of
estimation commands.{p_end}
{title:Description}
{pstd}
{cmd:ratio} produces estimates of ratios, along with standard errors.
{title:Options}
{dlgtab:Model}
{phang}
{opth stdize(varname)} specifies that the point estimates be adjusted by
direct standardization across the strata identified by {it:varname}. This
option requires the {opt stdweight()} option.
{phang}
{opth stdweight(varname)} specifies the weight variable associated with the
strata identified in the {opt stdize()} option. The standardization weights
must be constant within the strata identified in the {opt stdize()} option.
{phang}
{opt nostdrescale} prevents the standardization weights from being rescaled
within the {opt over()} groups. This option requires {opt stdize()} but is
ignored if the {opt over()} option is specified.
INCLUDE help srs_sum_opdesc
{title:Example}
{psee}{cmd:. ratio mpg1/mpg2}{p_end}
{title:Also see}
{psee}Manual: {hi:[R] ratio}{p_end}
{psee}Online: {help ratio postestimation};{break}
{helpb mean}, {helpb proportion}, {helpb "svy: ratio"}, {helpb total}{p_end}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -