Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: lpoly predict residuals


From   Maarten Buis <[email protected]>
To   [email protected]
Subject   Re: st: lpoly predict residuals
Date   Mon, 13 Jun 2011 15:23:14 +0200

On Mon, Jun 13, 2011 at 3:12 PM, Stefan Pichler wrote:
> I have trouble predicting the residuals after the lpoly command. I first run "lpoly y x" on my dataset and then use "predict" to get residuals. However, Stata returns "not sorted", which I don't understand.

Whether or not -predict- is allowed after a command can be seen by
looking at -help <command> postestimation- where <command> needs to be
replaced by whatever command you want to look at. There is no such
help file for -lpoly-. Another hint that this may be problematic is
that -predict- is for use after estimation commands, which leave
things behind in e(), while the helpfile for -lpoly- says it leaves
things behind in r(). These two things suggest to me that you cannot
use -predict- after -lpoly-.

Hope this helps,
Maarten

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany


http://www.maartenbuis.nl
--------------------------
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index