--- Chris wrote:
> 1. Does anyone know how to perform LOESS in Stata? I know how to do
> this in R but I'd prefer to avoid that, because R is memory
> inefficient.
>
> 2. Is there a way to display a logit curve?
Given the combination of question I am assuming you are looking for
something like the example below. However, there ares some weird jumps
in the lowess curve that I cannot explain.
-- Maarten
*----------- begin example ------------------
sysuse auto, clear
logit foreign mpg
sort mpg
predict logit, xb
predict pr, pr
twoway lowess foreign mpg || ///
line pr mpg, name(pr)
twoway lowess foreign mpg, logit || ///
line logit mpg, name(logit)
*----------------- end example -----------------
-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands
visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434
+31 20 5986715
http://home.fsw.vu.nl/m.buis/
-----------------------------------------
___________________________________________________________
Rise to the challenge for Sport Relief with Yahoo! For Good
http://uk.promotions.yahoo.com/forgood/
*
* 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/