Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: test predicted values

From   "Nick Cox" <[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. 

[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:

© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index