Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: test of coefficients of the same regression equation


From   Florian Wendelspiess Chávez Juárez <florian@chavezjuarez.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: test of coefficients of the same regression equation
Date   Fri, 15 Feb 2013 11:42:52 +0100

Hi Nahla

I think you can simply use:
test [mean]NSP = [mean]Times_2

    or even

test NSP = Times_2
in this case, since there is only one equation as I see.

I hope this help.
Best regards,
Florian


On 15-Feb-13 11:29, Nahla Betelmal wrote:
Dear Statalist,

I am trying to test the equality of coefficients b1 and b3 of the same
regression equation

reg Y NSP Q Times_2

est store alltwo

suest alltwo

test [alltwo_mean]NSP = [alltwo_mean]times_2

I got the error message : equation [alltwo_mean] not found
r(303);

All goes well till the test part. However, I had no problem using the
same steps when I wanted to test the coefficients equality  between
two different regression. equations.

It would be great if you let me know what I am doing wrong and the
right way to test the coefficents of the same regression equation.

Many thanks


Nahla
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index