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

RE: st: RE: test predicted values


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   RE: st: RE: test predicted values
Date   Sun, 16 Jan 2005 22:26:32 -0000

I missed that you had y1 and y2 in 
your two -areg- commands, although
you did state that. Nevertheless, like others, I 
am not clear whether these are subsets 
of one response or two completely 
different responses. 

Nick 
[email protected] 

Dawit Lidia
 
> Dear Nick Cox,
> 
> Thanks you for your response. I think I have to refine my question as 
> follow. Can I do the following test on predicted values 
> without adjusting 
> the standard errors since observations are not independent 
> within group 
> (hhno)?
> 
> ttest conhat = wconhat unequal
> 
> where conhat and wconhat are predicted below.
> 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
 

*
*   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