Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

Re: st: SUREG: Testing sum of coefficients

From   Maarten buis <>
Subject   Re: st: SUREG: Testing sum of coefficients
Date   Thu, 25 Feb 2010 06:12:21 +0000 (GMT)

--- On Thu, 25/2/10, mai7777 wrote:
> I'm running a SUREG, and in addition to testing that the
> coefficients are jointly equal to zero, I want to test
> that the sum of the coefficients on the same variable
> across all the equations in the system is equal to zero.

*------------------------ begin example ------------------------
sysuse auto, clear
sureg (price foreign weight length) ///
      (mpg foreign weight)          ///
	  (displacement foreign weight)
test _b[price:foreign]+_b[mpg:foreign]+_b[displacement:foreign]=0
*-------------------------- end example -------------------------
( For more on how to use examples I sent to statalist see: )

Hope this helps,

Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen


*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index