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

st: Adjust command


From   Ricardo Ovaldia <ovaldia@yahoo.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Adjust command
Date   Thu, 17 Apr 2003 05:52:41 -0700 (PDT)

Dear all,

I have two questions about -adjust- after -regress-.
First, under what circumstances should the -by()-
variable be included or not included in the regression
model. ( I get different adjust outputs),

Second, according to the help file, the -se- option is
"equivalent to the stdp option of predict". Therefore,
I should be able to get what -adjust- reports using
-predict-, but I can't. Using the auto data and these
commands:

qui regress  price mpg foreign
predict yhat
predict se, stdp
adjust , by( foreign) se
by  foreign, sort:sum  yhat se

I get that mean(yhat)= adjusted(mean) as expected, but
I can't get the adjusted(se). What am I missing?

Thank you in advance,
Ricardo.




 


=====
Ricardo Ovaldia, MS
Statistician 
Oklahoma City, OK

__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index