matmacfunc.hlp

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

HLP
64
字号
{smcl}
{* 28mar2005}{...}
{cmd:help matmacfunc}
{hline}

{title:Title}

{phang}
Macro extended functions regarding matrices


{title:Syntax}

{pstd}
The following extended macro functions are allowed with {cmd:local} and
{cmd:global}:

	{cmd:: rowfullnames} {it:A}
	{cmd:: colfullnames} {it:A}

	{cmd:: rownames} {it:A}
	{cmd:: colnames} {it:A}

	{cmd:: roweq} {it:A} {cmd:,} {cmdab:q:uoted}
	{cmd:: coleq} {it:A} {cmd:,} {cmdab:q:uoted}


{title:Description}

{pstd}
These extended macro functions obtain the current row and column names and
row and column equation names of a matrix.  See {helpb matrix rownames} for
setting the names.  See {helpb macro} for information on extended macro
functions.  See {helpb matrix} for information on matrices in Stata.


{title:Option}

{phang}
{cmd:quoted} encloses each equation name in double quotes.  Some Stata
estimation commands, such as {helpb mlogit}, create matrices with equation
names containing spaces when the dependent variable has value labels
containing spaces.  The {cmd:quoted} option makes it possible to correctly
determine each equation name.


{title:Examples}

{phang}{cmd:. local names : rownames mymat}{p_end}
{phang}{cmd:. local names : rowfullnames mymat}{p_end}
{phang}{cmd:. local names : colfullnames e(b)}


{title:Also see}

{psee}
Manual: {bf:[P] matrix}

{psee}
Online:  {helpb macro},
{helpb matrix},
{helpb matrix rownames}
{p_end}

⌨️ 快捷键说明

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