📄 mean.hlp
字号:
{smcl}
{* 21mar2005}{...}
{cmd:help mean}{right:dialog: {bf:{dialog mean}}{space 15}}
{right:also see: {help mean postestimation}}
{hline}
{title:Title}
{p2colset 5 17 19 2}{...}
{p2col :{hi:[R] mean} {hline 2}}Estimate means{p_end}
{p2colreset}{...}
{title:Syntax}
{p 8 13 2}
{cmd:mean} {varlist} {ifin} {weight} [{cmd:,} {it:options}]
{synoptset 21 tabbed}{...}
{synopthdr}
{synoptline}
{syntab :Model}
{synopt :{opth std:ize(varname)}}variable identifying strata for standardization{p_end}
{synopt :{opth 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 :{cmd:over(}{it:{help varlist}}{cmd:,} {it:...}{cmd:)}}identify multiple subpopulations{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}
{opt svy} may be used with {opt mean}; see {helpb "svy: mean"}.{p_end}
{p 4 6 2}
{opt fweight}s, {opt pweight}s, {opt aweight}s, and {opt iweight}s are
allowed; see {help weight}.{p_end}
{p 4 6 2}
See {help mean postestimation} for features available after estimation.{p_end}
{title:Description}
{pstd}
{opt mean} produces estimates of means, 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 not specified.
INCLUDE help srs_sum_opdesc
{title:Examples}
{phang}{cmd:. mean mpg1 mpg2}{p_end}
{phang}{cmd:. stack mpg1 mpg2, into(mpg) clear}{p_end}
{phang}{cmd:. mean mpg, over(_stack)}
{phang}{cmd:. mean hbp, over(city year) stdize(strata) stdweight(stdw)}
{title:Also see}
{psee}
Manual: {bf:[R] mean}
{psee}
Online: {help mean postestimation};{break}
{helpb proportion},
{helpb ratio},
{helpb "svy: mean"},
{helpb total}
{p_end}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -