Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | "ptrprtt@gmail.com" <ptrprtt@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | st: split a large dataset |
Date | Wed, 6 Jul 2011 11:45:06 +0200 |
Dear Stata users, I am trying to split a large dataset by firm. A possiblity would be to preserve the original file and run a loop where I keep the observations corresponding to each firm. The problem is that restoring the original file takes a very long time. Is there a faster way to do it? Thanks for your help, Pietro * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/