Statalist The Stata Listserver


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

st: Testing constraints in a linear regression


From   "Fanwell Kenala Bokosi" <[email protected]>
To   <[email protected]>
Subject   st: Testing constraints in a linear regression
Date   Sat, 21 Jan 2006 21:25:43 -0000

I am estimating a model which is constrained. I am trying to test the constraints, but stata keeps giving me an error message.

My model is

Y = (ρ-1)Yt-1 + β (Xt-Xt-1) + β(1- ρ)Xt-1 + εi
The stata command I am using is

reg Y Yt-1 (Xt-Xt-1) Xt-1

test Yt-1 * (Xt-Xt-1)= -(Xt-1)



When I do that I am getting an error,



I have about more than one ((Xt-Xt-1), Xt-1 variables. Please help


*
* 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