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)?
Individual tables using esttab/estoutHi, I've now been searching around for quite some time but am just not able to find answers to my sp…
No p and t-values for AR1 and AR2 in one step system GMMHello, I need your help on what it means that after running a one step system GMM it gives me the fo…
effect of treatment in a three arm studyDear Statalist. I have a dataset from a three arms study (one of the arms is control, and the other…
Can not replicate what teffects ipw is doingHi, I want to compute ate and atet using inverse probability weighting (ipw). So I use a Stata exa…
Logit with time seriesIs there a way to run a logit with time series data? Does it even make sense? …
Subscribe to:
Post Comments (Atom)
0 Response to Taking more time in loop (foreach/forvalues)?
Post a Comment