Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: RE: Postfile results of the adjust command


From   Richard Williams <Richard.A.Williams.5@ND.edu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: Postfile results of the adjust command
Date   Thu, 02 Aug 2007 08:20:22 -0400

At 07:50 AM 8/2/2007, Maarten Buis wrote:
--- Patrick Musonda wrote:
> I am using stata 9, I was wondering whether anyone knows how stata stores
> the results after the adjust command so that we can postfile them later.

Stata doesn't store any results after -adjust-. You'll probably have to
write some code that does whatever you want -adjust- to do and save the
results. If you are using a model other than -regress- you have to take
care to take the means of the predicted linear predictors first and than
transform them to the desired metric, in order to exactly reproduce the
results from -adjust-. See the example below and (Buis 2007)
The -prvalue- command, part of Long & Freese's -spost9- package (-findit spost9- ; it is on Long's own site, not SSC), is similar to adjust, and it returns some values in r (type -return list- to see what they are.) Perhaps it would meet Patrick's needs.


-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
HOME: (574)289-5227
EMAIL: Richard.A.Williams.5@ND.Edu
WWW: http://www.nd.edu/~rwilliam

*
* 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