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)?
Time-series dataset with repeated valuesDear community! I am conducting a research on public opinion combined with different survey rounds, …
ID fixed effect error: factor variables may not contain noninteger valuesHi! I am running a ologit regression with ID fixed effect and get the error msg: factor variables ma…
Multiple linear regression helpHi I am currently running multiple linear regression analyses. The predictor variables that I am…
Scatter plot with fixed effectsI am trying to draw a scatter plot of two variables, after having taken into account fixed effects (…
Difference in Differences with 3 time periodsDear all, I am currently analyzing the link between board gender diversity and firm performance. I …
Subscribe to:
Post Comments (Atom)
0 Response to Taking more time in loop (foreach/forvalues)?
Post a Comment