see -help test##coeflist- for what I think is a more straight forward approach
ronggui wrote:
> First,I get the first model by:
> reg y x1 x2 x2 x3
>
> then I want to test if _b[x1]=_b[x2]=_b[x3], Can I achieve it by the
> following codes?
> gen x=x1+x2+x3
> reg y x1 x2 x2 x3
> est store A1
> reg y x1 x
> lrtest A1 .
>
> Are model A1 and . nested? and Is this test valid?
>
> Thanks.
>
>
> --
> ���ٹ�
> Deparment of Sociology
> Fudan University
>
> *
> * 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/
>
*
* 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/