[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Time taken for reshape command
The "reshape" command that I am using takes an extremely long time and I am
not sure whether this is normal.
Let me mention the details.
I have 1000 observations and 926 variables.
Variable: "ID" takes values from 1 through 1000. (denoting 1000 companies)
Variable "Y" is a specific corporate value
924 variables: X1 through X924 denote the 924 past stock prices.
I am reshaping it in the long format into 924000 observations and 3
variables (ID,Y,X) using
reshape long X, i(ID) j(DAYS)
This single command takes 10-12 minutes to process.
Is this normal?
* For searches and help try: