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

📄 matalabel.hlp

📁 是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到
💻 HLP
字号:
{smcl}
{* 30mar2005}{...}
{cmd:help matalabel}{right:also see:  {help undocumented}}
{hline}

{title:Title}

{p2colset 5 18 20 2}{...}
{p2col :{hi:matalabel} {hline 2}}Create column vectors in Mata containing value labels{p_end}
{p2colreset}{...}


{title:Syntax}

{p 8 18 2}{cmd:matalabel} [{it:lblname-list}] 
[{cmd:using} {it:filename}] {cmd:,} {opt gen:erate(namevec valuevec labelvec)}
	[{opt v:ar}]


{title:Description}

{pstd}
{cmd:matalabel} is a programmer's command that reads the value-label
information from the currently loaded dataset or from an optionally
specified filename.

{pstd}
{cmd:matalabel} creates three column vectors in {help mata:Mata} containing
the label name, numeric values, and labeled values.  The names of
the vectors are specified in the {opt generate()} option, which is
required.  Each vector has one row per mapping.  The labeled values
in the {it:labelvec} vector will be the full length of the label, even
if they are longer than the maximum string length in Stata.

{pstd}
{cmd:matalabel} complements {cmd:label, save}, which produces an ASCII
file of the variable labels in a format that allows easy editing of the
value-label texts.

{pstd}
Specifying no list or {opt _all} is equivalent to specifying all value labels.
Value label names may not be abbreviated or specified with wildcards.


{title:Options for matalabel}

{phang}
{opt generate(namevec valuevec labelvec)} specifies the names of the three
vectors that are to be created in Mata containing the label names, numeric
values, and labeled values.  {opt generate()} is required.

{phang}
{opt var} specifies that the varlists using value label {it:vl} be returned in
{opt r(vl)}.


{title:Also see}

{psee}
Online:  {helpb codebook}, {helpb describe}, 
{helpb encode}, {helpb labelbook}, {helpb labels}
{p_end}

⌨️ 快捷键说明

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