📄 summarize.hlp
字号:
{smcl}
{* 18mar2005}{...}
{cmd:help summarize}{right:dialog: {bf:{dialog summarize}}}
{hline}
{title:Title}
{p2colset 5 22 24 2}{...}
{p2col:{hi:[R] summarize} {hline 2}}Summary statistics{p_end}
{p2colreset}{...}
{title:Syntax}
{p 8 18 2}
{cmdab:su:mmarize} [{varlist}]
{ifin}
{weight}
[{cmd:,}
{it:options}]
{synoptset 16 tabbed}{...}
{synopthdr}
{synoptline}
{syntab:Main}
{synopt:{opt d:etail}}display additional statistics{p_end}
{synopt:{opt mean:only}}suppress the display; only calculate the mean; programmer's option{p_end}
{synopt:{opt f:ormat}}use variable's display format{p_end}
{synopt:{opt sep:arator(#)}}draw separator line after every {it:#} variables; default is
{cmd:separator(5)}{p_end}
{synoptline}
{p2colreset}{...}
{p 4 6 2}
{it:varlist} may contain time-series operators; see {help tsvarlist}.
{p_end}
{p 4 6 2}
{opt by} may be used with {opt summarize}; see {helpb by}.
{p_end}
{p 4 6 2}
{opt aweight}s, {opt fweight}s, and {opt iweight}s are allowed. However,
{opt iweight}s may not be used with the {opt detail} option;
see {help weight}.
{p_end}
{title:Description}
{pstd}
{opt summarize} calculates and displays a variety of univariate summary
statistics. If no {it:{help varlist}} is specified, summary statistics are
calculated for all the variables in the dataset.
{pstd}
Also see {helpb ci} for calculating the standard error and confidence
intervals of the mean.
{title:Options}
{dlgtab:Main}
{phang}
{opt detail} produces additional statistics including skewness,
kurtosis, the four smallest and four largest values, and various
percentiles.
{phang}
{opt meanonly}, which is allowed only when {opt detail} is not specified,
suppresses the display of results and calculation of the variance. Ado-file
writers will find this useful for fast calls.
{phang}
{opt format} requests that the summary statistics be displayed using
the display formats associated with the variables, rather than the default
{opt g} display format; see {helpb format}.
{phang}
{opt separator(#)} specifies how often to insert separation lines
into the output. The default is {cmd:separator(5)}, meaning that a
line is drawn after every 5 variables. {cmd:separator(10)} would draw a line
after every 10 variables. {cmd:separator(0)} suppresses the separation line.
{title:Examples}
{cmd:. summarize}
{phang}{cmd:. summarize mpg weight}{p_end}
{phang}{cmd:. summarize mpg weight if foreign}{p_end}
{phang}{cmd:. summarize mpg weight if foreign, detail}
{title:Also see}
{psee}
Manual: {hi:[R] summarize}
{psee}
Online:
{helpb ameans},
{helpb centile},
{helpb cf},
{helpb ci},
{helpb codebook},
{helpb compare},
{helpb describe},
{helpb egen},
{helpb inspect},
{helpb lv},
{helpb mean},
{helpb pctile},
{helpb stsum},
{helpb "svy: mean"},
{helpb table},
{helpb tabstat},
{help tabulate summarize},
{helpb xtsum}
{p_end}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -