Statalist


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

st: may I run -lowess- in a faster way?


From   "josemaria" <jmpsouza@usp.br>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: may I run -lowess- in a faster way?
Date   Thu, 18 Sep 2008 14:40:18 -0300

Dear Stata listers:
I have a large data set and used the command -lowess-, which took 9.5 minutes to run using art of the data. I am using a notebook with Windows XP Professional, a processor Intel Pentium 1.73 GHz, 1.99 GB RAM.
For the specifications bellow, is it possible to get more speed, mainly to analyse a less restrict piece of data within the dataset? By the way, I know that -lowess- is time consuming.

set mem 75m
(76800k)
. use "C:\ROSANGELA\doutorado\trabalho2.dta"
. des
Contains data from C:\ROSANGELA\doutorado\trabalho2.dta
obs: 272,704
vars: 32 14 Sep 2008 20:26
size: 41,723,712 (46.9% of memory free)


memory
bytes
--------------------------------------------------------------------
Details of set memory usage
overhead (pointers) 1,090,816 1.39%
data 40,632,896 51.67%
----------------------------
data + overhead 41,723,712 53.05%
free 36,919,480 46.95%
----------------------------
Total allocated 78,643,192 100.00%
--------------------------------------------------------------------
Other memory usage
system overhead 1,600,258
set matsize usage 337,600
programs, saved results, etc. 17,351
---------------
Total 1,955,209
-------------------------------------------------------
Grand total 80,598,401

count if sexo01==1 & idad_pesm<=12 & ordempesagem<=5
46355

lowess est_wazw idad_pesm if sexo01==1 & idad_pesm<=12 & ordempesagem<=5
r; t=570.88 13:50:31

. dis 570/60
9.5

Thank you,
Josť Maria
Jose Maria Pacheco de Souza, Professor Titular (aposentado)
Departamento de Epidemiologia/Faculdade de Saude Publica, USP
Av. Dr. Arnaldo, 715
01246-904 - S. Paulo/SP - Brasil
fones (11)3082-3886; (11)3083-4246; (11)3061-7747; (11)3768-8612; (11)3714-2403
fax (11)3082-2920; (11)3714-2403
www.fsp.usp.br/~jmpsouza
*
* 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