matrix_makecns.hlp

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

HLP
59
字号
{smcl}
{* 09feb2005}{...}
{cmd:help matrix makeCns}, {cmd:help matrix dispCns}{...}
{right:also see: {help undocumented}}
{hline}

{title:Title}

{phang}
Constrained estimation


{title:Syntax}

	{cmdab:mat:rix} {cmd:makeCns} [{it:clist} | {it:matname}]

	{cmdab:mat:rix} {cmd:dispCns} [{cmd:,} {cmd:r} ]

{pstd}
where {it:clist} is a list of constraint numbers, separated by commas or
dashes.

{pstd}
{it:matname} is an existing matrix representing the constraints and must have
one more column than the {hi:e(b)} and {hi:e(V)} matrices.


{title:Description}

{pstd}
{cmd:matrix makeCns} makes a constraint matrix; the matrix can be obtained by
the {cmd:matrix get(Cns)} function (see {hi:[P] matrix get} or {helpb get()}).
{cmd:matrix dispCns} displays the system-stored constraint matrix in readable
form.

{pstd}
See {helpb makecns} for a newer alternative to {cmd:matrix makeCns} and
{cmd:matrix dispCns} and for information on the {cmd:matcproc} command.

{pstd}
If your interest is simply in using constraints in a command that supports
constrained estimation, then see {hi:[R] constraint} and {helpb constraint}.


{title:Option}

{phang}
{cmd:r} suppresses the output of {cmd:matrix dispCns} and instead fills in
macros {cmd:r(cns}{it:#}{cmd:)} along with scalar {cmd:r(k)}.


{title:Also see}

{p 4 13 2}
Online:  {helpb makecns};
{helpb constraint};
{helpb get()}
{p_end}

⌨️ 快捷键说明

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