| |
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Re: one sided test
How about:
use "C:\data\auto.dta", clear
(1978 Automobile Data)
. reg price mpg rep78
Source | SS df MS Number of obs =
69
-------------+------------------------------ F( 2, 66) =
11.06
Model | 144754063 2 72377031.7 Prob > F =
0.0001
Residual | 432042896 66 6546104.48 R-squared =
0.2510
-------------+------------------------------ Adj R-squared =
0.2283
Total | 576796959 68 8482308.22 Root MSE =
2558.5
------------------------------------------------------------------------------
price | Coef. Std. Err. t P>|t| [95% Conf.
Interval]
-------------+----------------------------------------------------------------
mpg | -271.6425 57.77115 -4.70
0.000 -386.9864 -156.2987
rep78 | 666.9568 342.3559 1.95 0.056 -16.5789
1350.492
_cons | 9657.754 1346.54 7.17 0.000 6969.3
12346.21
------------------------------------------------------------------------------
. test mpg- rep78=0
( 1) mpg - rep78 = 0
F( 1, 66) = 6.46
Prob > F = 0.0134
----- Original Message -----
From: "y erc" <[email protected]>
To: <[email protected]>
Sent: Wednesday, March 15, 2006 9:21 PM
Subject: st: one sided test
Hi
I am regressing y on x1, x2, using "reg" command. I would like to test if
b1<b2 (cefficents of x1 and x2) is significant. Can you please help me how
I can do this one sided test using stata? I mean is there a command for
this?
Thanks
_________________________________________________________________
Don't just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/
*
* 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/