|
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: How to test the equality of coef in regression model
From
ronggui <[email protected]>
To
[email protected]
Subject
st: How to test the equality of coef in regression model
Date
Mon, 24 Apr 2006 16:07:07 +0800
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/
© Copyright 1996–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |