Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Storage of multiple dummy variables

From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: Storage of multiple dummy variables
Date   Thu, 22 Apr 2004 16:22:03 +0100

Check out -areg-. 

[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:

© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index