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/