count.hlp

来自「是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到」· HLP 代码 · 共 46 行

HLP
46
字号
{smcl}
{* 23nov2004}{...}
{cmd:help count}{right:dialog:  {bf:{dialog count}}}
{hline}

{title:Title}

{p2colset 5 18 20 2}{...}
{p2col :{hi:[D] count} {hline 2}}Count observations satisfying specified
condition{p_end}
{p2colreset}{...}


{title:Syntax}

{p 8 14 2}
{opt cou:nt}
{ifin}

{p 4 6 2}
{opt by} may be used with {opt count}; see {helpb by}.


{title:Description}

{pstd}
{opt count} counts the number of observations that satisfy the specified
condition.  If no conditions are specified, {opt count} displays the number of
observations in the data.


{title:Examples}

{phang}{cmd:. count if income<0}{p_end}
{phang}{cmd:. by division:  count if income<0}{p_end}


{title:Also see}

{psee}
Manual:  {bf:[D] count}

{psee}
Online:  {helpb tabulate}
{p_end}

⌨️ 快捷键说明

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