At 11:36 AM 7/29/2005 -0400, Raymond wrote:
Hi,
I need to add some restriction condition in a regression. I'm using a
set of dummies
for variable "age", and I want to set the coefficients of age1 to be
equal to age2.
How can this be done in Stata?
Thanks a lot.
ols regression? See -help cnsreg-. Or alternatively, do something like
reg y age1 age2
test age1=age2, coef
*
* 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/