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

📄 mat_anova_example.hlp

📁 是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到
💻 HLP
字号:
{smcl}
{* 28mar2005}{...}
{* this hlp file called by testanova.dlg}{...}
{title:Examples of using matrices to test linear expressions after anova}

    After

	{cmd:. anova y a}

{pstd}
where {cmd:a} has four levels, you test if the coefficients for the first and
second levels of {cmd:a} are equal by defining a matrix using the command

	{cmd:. matrix c = (0,1,-1,0,0)}

{pstd}
or using the {dialog matrix_input:matrix input dialog} and then supplying the
matrix name, {cmd:c} in this example, as an argument to the {cmd:test()}
option of {cmd:test}.

{pstd}
Notice that the matrix has five columns instead of four.  The first column is
for the constant, the remaining four columns are for the four levels of
{cmd:a}.  If in doubt of the number or order of columns, use the
{bind:{cmd:test , showorder}} command, obtainable by selecting
"{cmd:Show order of columns in the design matrix}" in the dialog box, to
examine the order and definitions of the columns.

    The matrix

	{cmd:. matrix x = (0,3,-1,-1,-1)}

{pstd}
could be used to test if {cmd:a} at level 1 is equal to the average of {cmd:a}
at levels 2, 3, and 4.

    The matrix

	{cmd:. matrix z = (0,1,-1,0,0 \ 0,0,0,1,-1)}

{pstd}
could be used to jointly test that level 1 and 2 of {cmd:a} are equal and
that level 3 and 4 of {cmd:a} are equal.


{title:Also see}

{psee}
Online:  {helpb anova}, {help anova postestimation}, {helpb matrix define}
{p_end}

⌨️ 快捷键说明

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