mat_put_rr.hlp

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

HLP
62
字号
{smcl}
{* 09feb2005}{...}
{cmd:help mat_put_rr}
{hline}

{title:Title}

{p2colset 5 23 25 2}{...}
{p2col :{hi:[P] matrix get} {hline 2}}Post {cmd:test} constraint matrix{p_end}
{p2colreset}{...}


{title:Syntax}

    {cmd:mat_put_rr} {it:matname}


{title:Description}

{pstd}
{cmd:mat_put_rr} is a programmer's command that posts {it:matname} as the
internal {cmd:Rr} matrix.  {it:matname} must have one more column than the
{cmd:e(b)} and {cmd:e(V)} matrices.  The extra column contains the {cmd:r}
vector and the earlier columns contain the {cmd:R} matrix for the Wald test

{center:{cmd:Rb} = {cmd:r}}

{pstd}
See {hi:[R] test}.

{pstd}
The {cmd:matrix} ... {cmd:get(Rr)} command provides a way to obtain the
current {cmd:Rr} system matrix; see {helpb get()}.


{title:Example}

{phang2}{cmd:. regress y x1 x2 x3 x4}{p_end}
{phang2}{cmd:. mat z = (1,0,0,-1,0,2.8 \ 1,0,-1,0,0,0)}{p_end}
{phang2}{cmd:. mat_put_rr z}{p_end}
{phang2}{cmd:. test}

{pstd}
gives the same result as

{phang2}{cmd:. regress y x1 x2 x3 x4}{p_end}
{phang2}{cmd:. test x1-x2=2.8, notest}{p_end}
{phang2}{cmd:. test x1-x3=0, accum}


{title:Also see}

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

{psee}
Online:  
{helpb matrix},
{helpb test};
{helpb get()}
{p_end}

⌨️ 快捷键说明

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