I am running a program in STATA where I have a foreach loop inside of another foreach loop. This generates all pairwise interactions of 2 sets of about 200 dummy variables each. The number of observations is about 500,000. I am running this remotely on a UNIX server with 16GB of RAM (I have requested 10GB for this job). Do you have any idea how long this will run? I can tell you that it has already run for about 18 hours and isn't done yet. This doesn't bode well since this is just for year 1850 and I am running it for 1850, 1860, ..., 1930.
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/