Dear All, I notice that if I run 100 regressions (using loop), and save some statistics, every regression takes, say, 0.1 second. However, when I run 30,000 regressions, the average time for additional regression is becoming longer and longer. Does anyone know why this is happening (because of memory?)? Thanks.
Related Posts with Taking more time in loop (foreach/forvalues)?
cmissing(n) option not allowed with xtline overlayDear Statalist members, I am using Stata 14. I have an unbalanced panel and I want to represent a va…
Code for Approximating degree days with monthly average temperatureI am using CRU TS global gridded dataset for climate impacts on crop yields. The data has monthly me…
Loop over certain stata files in one folderHi all, I am trying to let Stata loop over only certain files ending with _p in one folder. The file…
Problems with generating a variable/cleaning data #2Hi Listers, I have trouble with generating a specific variable and cleaning my dataset in a certain…
Calculating Blau Index for Board Skill DiversityHi Everyone, Right now I am working on a variable that measures the degree of diversity/heterogenei…
Subscribe to:
Post Comments (Atom)
0 Response to Taking more time in loop (foreach/forvalues)?
Post a Comment