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

st: Adjust command

From   Ricardo Ovaldia <[email protected]>
To   [email protected]
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

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 Ovaldia, MS
Oklahoma City, OK

Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
*   For searches and help try:

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