Allan, not sure if this is what you want to do, but adjust has a
generate option: e.g.,
adjust mpg weight, by(foreign) gen(pred err) se
Tim
On 10/29/05, Allan Garland <[email protected]> wrote:
> I'm hoping that someone can help me with this small item.
>
> I'm using -adjust- after -regress- and I want to write a little do-file
> to use the resulting output (the xb and stdp values, in particular) in a
> custom calculation. But after looking in the manuals, I don't see that
> -adjust- saves the values of what it calculates into the e-results or
> r-results. I know I could go and access the coefficient matrix directly
> after -regress- and do the calculation of the adjusted values myself,
> but I'm hoping to let -adjust- do the heavy lifting and then just take
> it's results and go on my merry way. Is there an easy way to do what I
> describe?
>
> Thanks.
>
> Allan
>
>
> *
> * 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/
>
*
* 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/