From: "Nick Cox" <[email protected]>
Reply-To: [email protected]
To: <[email protected]>
Subject: st: RE: test predicted values
Date: Sun, 16 Jan 2005 16:35:28 -0000
It would seem more straightforward,
and more appropriate, to fit
areg y1 x1 x2 con, absorb(hhno) cluster(hhno)
which provides your test directly -- unless
I am missing some subtlety here.
Nick
[email protected]
Dawit Lidia
> I am running the following types of regressions
>
> areg y1 x1 x2 if con ==1, absorb(hhno) cluster(hhno)
> predict conhat if con ==1, xbd
>
> areg y2 x1 x2 if con ==0, absorb(hhno) cluster(hhno)
> predict wconhat if con ==0, xbd
>
> y1 and y2 are dependent variables and xs are independent variables.
>
>
> I want to test if there is mean difference between the two
> predicted values
> uisng simple 'ttest'.
>
> My question is, do I need to correct standard errors(se) of
> the 'ttest'
> since the observed ys are not independent. If the answer is
> yes, would you
> please suggest me how i can correct it or any other
> altenative test that can
> adjust se.
*
* 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/