Dear Statalisters,
I have a simulation program comparing two types of analysis, one of which is based on permutation tests. The program contains a postfile within a postfile and it all works fine unless I try to run large numbers of simulations. For example, if I try to run 1000 simulations, with 1000 permutations per simulation I (eventually) get a message stating:
Error-stata exiting
Check Results Window for filename
Then when I click -OK- I get something like:
2. C:\Docume~1\jf48\LOCALS~1\Temp\ST_001iir.tmp
1. C:\Docume~1\jf48\LOCALS~1\Temp\ST_001iir.tmp
written in red on a white background. Stata then decides not to do anything at all for 5 minutes and then finally calls it a day and exits. Can anyone tell me what's happening and suggest how to correct it?
Justin Fenty
*
* 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/