Check out -areg-.
Nick
[email protected]
Nicolas Theopold
>
> I am having trouble with my data-set exceeding the RAM on the system,
> making calculations very slow. One of the size issues comes
> from region
> dummies I need in my analysis. I have 76 dummies with 1.1m
> observations
> each, which adds (I think) about 100-200MB to my dataset.
>
> Is there a more efficient way of storing this info? Could I tell stata
> somehow to use one variable which contains all the region codes and
> treat it as dummies that take value one when a certain code comes up?
>
> i.e. region takes values 1 - 77
> in a regression, could I somehow use dummies: region2, . , region77,
> without having all these variables stored separately?
*
* 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/