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

📄 tabulate_summarize.hlp

📁 是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到
💻 HLP
字号:
{smcl}
{* 18mar2005}{...}
{cmd:help tabulate, summarize()}{...}
{right:dialog:  {bf:{dialog tabsum:tabulate, summarize()}}}
{hline}

{title:Title}

{p2colset 5 34 36 2}{...}
{p2col:{hi:[R] tabulate, summarize()} {hline 2}}One- and two-way tables of summary
statistics{p_end}
{p2colreset}{...}


{title:Syntax}

{p 8 17 2}
{cmdab:ta:bulate}
{it:{help varname:varname1}}
[{it:{help varname:varname2}}]
{ifin}
{weight}
[{cmd:,} {it:options}]

{synoptset 23 tabbed}{...}
{synopthdr}
{synoptline}
{syntab:Main}
{synopt:{opth s:ummarize(varname:varname3)}}report summary statistics
for {it:varname3}
{p_end}
{synopt:[{cmdab:no:}]{opt me:ans}}include or suppress means
{p_end}
{synopt:[{cmdab:no:}]{opt st:andard}}include or suppress standard deviations
{p_end}
{synopt:[{cmdab:no:}]{opt f:req}}include or suppress frequencies
{p_end}
{synopt:[{cmdab:no:}]{opt o:bs}}include or suppress number of observations
{p_end}
{synopt:{opt nol:abel}}show numeric codes, not labels
{p_end}
{synopt:{opt w:rap}}do not break wide tables
{p_end}
{synopt:{opt mi:ssing}}treat missing values of {it:{help varname:varname1}} and
{it:{help varname:varname2}} as categories
{p_end}
{synoptline}
{p2colreset}{...}
{p 4 6 2}
{opt by} may be used with {cmd:tabulate, summarize()}; see {helpb by}.
{p_end}
{p 4 6 2}
{opt aweight}s and {opt fweight}s are allowed; see {help weight}.
{p_end}


{title:Description}

{pstd}
{cmd:tabulate, summarize()} produces one- and two-way tables (breakdowns)
of means and standard deviations.  See {help tabulate oneway}  and
{help tabulate twoway} for one- and two-way frequency tables.  See
{helpb table} for a more flexible command that produces one-, two-, and n-way
tables of frequencies and a wide variety of summary statistics.
{opt table} is better but {cmd:tabulate, summarize()} is faster.
Also see {helpb tabstat} for yet another alternative.


{title:Options}

{dlgtab:Main}

{phang}
{opth "summarize(varname:varname3)"} identifies the name of the
   variable for which summary statistics are to be reported.  If you do not
   specify this option, a table of frequencies is produced; see
   {help tabulate oneway} and {help tabulate twoway}.  This description
   concerns {opt tabulate} when this option is specified.

{phang}
[{opt no}]{opt means} includes or suppresses only the means from
   the table.

{pmore}
   The {opt summarize()} table normally includes the mean, standard
   deviation, frequency, and, if the data are weighted, number of
   observations.  Individual elements of the table may be included or
   suppressed by the [{opt no}]{opt means}, [{opt no}]{opt standard},
   [{opt no}]{opt freq}, and [{opt no}]{opt obs} options.  For example, typing

{pin3}{cmd:. tabulate category, summarize(myvar) means standard}

{pmore}
   produces a summary table by category containing only the means and
   standard deviations of {opt myvar}.  You could also achieve the same result by
   typing

{pin3}{cmd:. tabulate category, summarize(myvar) nofreq}

{phang}
[{opt no}]{opt standard} includes or suppresses only the standard
   deviations from the table; see [{opt no}]{opt means} option above.

{phang}
[{opt no}]{opt freq} includes or suppresses only the frequencies
   from the table; see [{opt no}]{opt means} option above.

{phang}
[{opt no}]{opt obs} includes or suppresses only the reported
   number of observations from the table.  If the data are not weighted, the
   number of observations is identical to the frequency, and by default only the
   frequency is reported.  If the data are weighted, the frequency refers to
   the sum of the weights.  See [{opt no}]{opt means} option above.

{phang}
{opt wrap} requests no action be taken on wide tables to make them
   readable.  Unless {opt wrap} is specified, wide tables are broken into pieces
   to enhance readability.

{phang}
{opt nolabel} causes the numeric codes to be displayed rather than the
   label values.

{phang}
{opt missing} requests that missing values of {it:{help varname:varname1}} and
   {it:{help varname:varname2}} be treated as categories rather than as
   observations to be omitted from analysis.


{title:Example:  one-way tables}

{phang}{cmd:. tabulate foreign, summarize(mpg)}

{phang}{cmd:. tabulate region [aweight=pop], summarize(age)}


{title:Example:  two-way tables}

{phang}{cmd:. tabulate foreign rep78, summarize(mpg)}

{phang}{cmd:. tabulate region citysize [aweight=pop], summarize(age)}


{title:Also see}

{psee}
Manual:  {bf:[R] tabulate, summarize()}

{psee}
Online:  
{helpb adjust},
{helpb collapse},
{helpb oneway},
{help "svy: tabulate oneway"},
{help "svy: tabulate twoway"},
{helpb table},
{helpb tabstat},
{help tabulate oneway},
{help tabulate twoway}
{p_end}

⌨️ 快捷键说明

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