📄 ameans.hlp
字号:
{smcl}
{* 22feb2005}{...}
{cmd:help ameans}{right:dialog: {bf:{dialog ameans}}}
{hline}
{title:Title}
{p2colset 5 19 21 2}{...}
{p2col :{hi:[R] ameans} {hline 2}}Arithmetic, geometric, and harmonic means{p_end}
{p2colreset}{...}
{title:Syntax}
{p 8 14 2}
{cmd:ameans} [{varlist}]
{ifin} {weight}
[{cmd:,} {it:options}]
{synoptset 16 tabbed}{...}
{synopthdr}
{synoptline}
{syntab:Main}
{synopt:{opt a:dd(#)}}add {it:#} to each variable in {it:varlist}{p_end}
{synopt:{opt o:nly}}add {it:#} only to variables with nonpositive values{p_end}
{synopt:{opt l:evel(#)}}set confidence level; default is {cmd:level(95)}{p_end}
{synoptline}
{p2colreset}{...}
{p 4 6 2}
{cmd:by} may be used with {cmd:ameans}; see {helpb by}.{p_end}
{p 4 6 2}
{cmd:aweight}s and {cmd:fweight}s are allowed; see {help weight}.
{title:Description}
{pstd}
{cmd:ameans} computes the arithmetic, geometric, and harmonic means,
with their corresponding confidence intervals, for each variable in {varlist}
or for all the variables in the data if {it:varlist} is not specified.
{cmd:gmeans} and {cmd:hmeans} are synonyms for {cmd:ameans}.
{pstd}
If you simply want arithmetic means and corresponding confidence intervals,
see {helpb ci}.
{title:Options}
{dlgtab:Main}
{phang}
{opt add(#)} adds the value {it:#} to each variable in
{varlist} before computing the means and confidence intervals. This is
useful when analyzing variables with nonpositive values.
{phang}
{opt only} modifies the action of the {opt add()} option so that it
only adds {it:#} to variables with at least one nonpositive value.
{phang}
{opt level(#)} specifies the confidence level, as a percentage,
for confidence intervals. The default is {cmd:level(95)} or as set by
{helpb set level}.
{title:Examples}
{cmd:. ameans}
{cmd:. ameans age income}
{title:Also see}
{psee}
Manual: {bf:[R] ameans}
{psee}
Online: {helpb ci}, {helpb summarize}
{p_end}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -