⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 svy_ratio.hlp

📁 是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到
💻 HLP
字号:
{smcl}
{* 29mar2005}{...}
{cmd:help svy: ratio}{...}
{right:dialog:  {bf:{dialog svy_ratio}}{space 16}}
{right:also see:  {help "svy: ratio postestimation"}}
{hline}

{title:Title}

{p2colset 5 25 27 2}{...}
{p2col :{hi:[SVY] svy: ratio} {hline 2}}Estimate ratios for survey data{p_end}
{p2colreset}{...}


{title:Syntax}

{pstd}
Basic syntax:

{phang2}
{cmd:svy}{cmd::} {cmd:ratio}
	[{it:name}{cmd::}] {varname} [{cmd:/}] {varname}


{pstd}
Full syntax:

{phang2}
{cmd:svy} [{it:vcetype}]
	[{cmd:,} {it:svy_options}]
	{cmd::}{break}
{cmd:ratio}
	 {cmd:(}[{it:name}{cmd::}]
	 	{varname} [{cmd:/}] {varname}{cmd:)}{break}
	{space 5}[{cmd:(}[{it:name}{cmd::}]
		{varname} [{cmd:/}] {varname}{cmd:)} ...]
 	{ifin} [{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}

{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: ratio} produces estimates of ratios of finite-population totals from
survey data; see {helpb ratio} for a description of sample ratios 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.

INCLUDE help svy_sum_opdesc


{title:Examples}

{phang}
{cmd:. webuse nhanes2c}
{p_end}
{phang}
{cmd:. svy: ratio hdresult/tcresult}
{p_end}
{phang}
{cmd:. svy: ratio hdresult tcresult}
{p_end}

{phang}
{cmd:. webuse yx}
{p_end}
{phang}
{cmd:. svy: ratio (R1: y1/x1) (R2: y2/x2)}
{p_end}

{phang}
{cmd:. webuse nhanes2c}
{p_end}
{phang}
{cmd:. svy: ratio hd2tc: hdresult/tcresult, over(agegrp)}
{p_end}

{phang}
{cmd:. webuse nhanes2b}
{p_end}
{phang}
{cmd:. gen firon = female*irong}
{p_end}
{phang}
{cmd:. svy: ratio firon/female}
{p_end}
{phang}
{cmd:. svy, subpop(female) : mean iron}
{p_end}


{title:Also see}

{psee}
Manual:  {bf:[SVY] svy: ratio}

{psee}
Online:  {help "svy: ratio postestimation"};{break}
{helpb ratio},
{helpb "svy: mean"},
{helpb "svy: proportion"},
{helpb "svy: total"}
{p_end}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -