mf_st_nvar.hlp

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

HLP
61
字号
{smcl}
{* 15mar2004}{...}
{cmd:help mata st_nvar()}
{hline}
{* index st_nvar()}{...}
{* index st_nobs()}{...}

{title:Title}

{p 4 4 2}
{bf:[M-5] st_nvar() -- Number of variables and observations}


{title:Syntax}

{p 8 12 2}
{it:real scalar} {cmd:st_nvar()}

{p 8 12 2}
{it:real scalar} {cmd:st_nobs()}


{title:Description}

{p 4 4 2}
{cmd:st_nvar()} returns the number of variables defined in the dataset
currently loaded in Stata.

{p 4 4 2}
{cmd:st_nobs()} returns the number of observations defined in the dataset
currently loaded in Stata.


{title:Conformability}

    {cmd:st_nvar()}, {cmd:st_nobs()}:
	   {it:result}:  1 {it:x} 1


{title:Diagnostics}

{p 4 4 2}
None.


{title:Source code}

{p 4 4 2}
Functions are built-in.


{title:Also see}

{p 4 13 2}
Manual:  {hi:[M-5] st_nvar()}

{p 4 13 2}
Online:  help for 
{bf:{help m4_stata:[M-4] stata}}
{p_end}

⌨️ 快捷键说明

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