📄 svy_proportion.hlp
字号:
{smcl}
{* 29mar2005}{...}
{cmd:help svy: proportion}{...}
{right:dialog: {bf:{dialog svy_proportion}}{space 16}}
{right:also see: {help "svy: proportion postestimation"}}
{hline}
{title:Title}
{p2colset 5 30 32 2}{...}
{p2col :{hi:[SVY] svy: proportion} {hline 2}}Estimate
proportions for survey data{p_end}
{p2colreset}{...}
{title:Syntax}
{p 8 42 2}
{cmd:svy} [{it:vcetype}]
[{cmd:,} {it: svy_options}]
{cmd::} {cmd:proportion} {varlist} {ifin}
{bind:[{cmd:,} {it:options}]}
{synoptset 27 tabbed}{...}
INCLUDE help svy_sum_optable
{synopthdr:options}
{synoptline}
{syntab:Model}
{synopt :{opt std:ize(varname)}}variable
identifying strata for standardization{p_end}
{synopt :{opt stdw:eight(varname)}}weight variable
for standardization{p_end}
{synopt :{opt nostdr:escale}}do
not rescale the standard weight variable{p_end}
{synopt :{opt nolab:el}}suppress value labels from {it:varlist}{p_end}
{synopt :{opt miss:ing}}treat missing values like other values{p_end}
{syntab:if/in/over}
{synopt :{opt over}{cmd:(}{it:varlist} [{cmd:,} {opt nolab:el}]{cmd:)}}identify
multiple subpopulations{p_end}
{synoptline}
{p2colreset}{...}
{title:Description}
{pstd}
{cmd:svy: proportion} produces estimates of finite-population proportions for
the categories identified by the values in each variable of {it:varlist} from
survey data; see {helpb proportion} for a description of sample proportions
from nonsurvey data.
{title:Options}
{phang}
{it:svy_options}; see {helpb svy}.
{dlgtab:Model}
{phang}
{opt 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}
{opt stdweight(varname)}
specifies the weight variable associated with the standard strata identified
in the {opt stdize()} option. The standardization weights must be constant
within the standard strata.
{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 not specified.
{phang}
{opt nolabel} requests that value labels attached to the variables in
{it:varlist} be ignored.
{phang}
{opt missing} specifies that missing values in {it:varlist} are to be treated
as valid categories, rather than be omitted from the analysis (the default).
INCLUDE help svy_sum_opdesc
{title:Examples}
{phang}
{cmd:. webuse nhanes2}
{p_end}
{phang}
{cmd:. svyset}
{p_end}
{phang}
{cmd:. describe heartatk}
{p_end}
{phang}
{cmd:. svy: mean heartatk}
{p_end}
{phang}
{cmd:. svy: proportion heartatk}
{p_end}
{phang}
{cmd:. webuse nhanes2}
{p_end}
{phang}
{cmd:. svy: proportion race agegrp}
{p_end}
{phang}
{cmd:. webuse nhanes2}
{p_end}
{phang}
{cmd:. svy: proportion agegrp, over(race)}
{p_end}
{title:Also see}
{psee}
Manual: {bf:[SVY] svy: proportion}
{psee}
Online: {help "svy: proportion postestimation"};{break}
{helpb proportion},
{helpb "svy: mean"},
{helpb "svy: ratio"},
{helpb "svy: total"}
{p_end}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -