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

Re: st: Access to results after using -adjust-


From   Tim Wade <wadetj@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Access to results after using -adjust-
Date   Mon, 31 Oct 2005 10:42:39 -0500

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 <agar5858@cox.net> 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/



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