Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: sureg and constraints


From   "Austin Nichols" <[email protected]>
To   [email protected]
Subject   Re: st: sureg and constraints
Date   Thu, 21 Dec 2006 07:41:46 -0500

Stephan--
Looks like a standard fixed effect regression to me, or -xtgls- perhaps.  See
http://www.stata.com/statalist/archive/2003-06/msg00451.html

If you had variables named y1 to y10 and vars x1 to x10, you could just

gen n=_n
reshape long x y, i(n) j(eq)
areg y x, a(eq)

to get "all betai" I think.

On 12/21/06, Stephan Brunow <[email protected]> wrote:
Dear Statalisters,

we are faced with a constraint problem for sureg.

There is an equation system of n equations.

Y1 = alpha1 + beta1 * x1
Y2 = alpha2 + beta2 * x2
...
Yn = alphan + betan * x3

The theory states that all betai are the same.
How can we restrict it in STATA with a constraint?
We are using STATA 8.2
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index