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

Re: st: Top ten tricks [was: RE: RE: RE: RE: RE: RE: RE: Using postfile]

From   Richard Williams <>
Subject   Re: st: Top ten tricks [was: RE: RE: RE: RE: RE: RE: RE: Using postfile]
Date   Fri, 21 May 2004 08:33:14 -0500

At 02:01 PM 5/21/2004 +0100, Nick Cox wrote:
That leads to me to ask a question: which would
we nominate as (say) the top ten tricks which
are the deepest and most Stataish features
in what we use? What is _both_ simple _and_ deep?
What leads to great results with at most a few
lines of code?
I very much like -predict-. I especially like that it can be run on something other than the estimation sample. Indeed, I sometimes temporarily wipe out the "real" data, type in some hypothetical values, run -predict-, and then restore the original data. This can be quite useful for making things like logistic regression more tangible, where it is hard to see what impact variables actually have. I also like -adjust- for similar reasons.

To do the equivalent in SPSS, I sometimes have to run the regression, and then type up a compute command based on the results. Much more awkward.

I don't know if it should be considered a "trick", but I like the programmability of Stata compared to SPSS.

Common to all of the above is the way Stata stores results in memory, again something you won't see in SPSS.

Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
FAX: (574)288-4373
HOME: (574)289-5227
EMAIL: Richard.A.Williams.5@ND.Edu
WWW (personal):
WWW (department):

* For searches and help try:

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