Statalist


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

st: RE: Faster fracplot?


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Faster fracplot?
Date   Tue, 11 Nov 2008 18:19:31 -0000

I'd think about cloning -fracplot-: rename the program e.g. as -myfracplot-, cut out the -scatter- call, and save as myfracplot.ado along your adopath. 

Nick 
n.j.cox@durham.ac.uk 

Johan Sundström

I have the following problem: In a dataset with 1,2 million observations,
using a reasonably fast computer, Stata MP (two processors) 10.1, and no
other programs running (I've even kicked up a slim msconfig for this
purpose, so I can maximize memory), I want to use uvrs or mvrs in order to
examine the shape of a relation. With up to five covariates mvrs takes ca
15-20 minutes to calculate. So far so good. I then want to fracplot. This is
where my workday goes into slow-mo. Every graph takes up to a couple of
hours to complete, and is nearly impossible to tweak even the slightest
because of the time everything takes. I've tried mstyle(none), which doesn't
help. My questions is if it's possible to ask fracplot to not draw the
markers at all (I'm only interested in the regression line and 95% CI)? Or
does anyone have another alternative for me? I've tried mfp as an
alternative to splines, which is equally slow. Help, please!

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index