Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: Reshaping to long format

From   "Impavido, Gregorio" <>
To   "" <>
Subject   st: RE: Reshaping to long format
Date   Tue, 18 Jun 2013 18:38:35 +0000

What about

reshape long firm, i(date) j(ftype) string
rename firm price

-----Original Message-----
From: [] On Behalf Of AGAOGLU Enes
Sent: Tuesday, June 18, 2013 2:18 PM
Subject: st: Reshaping to long format

Dear Colleagues,

I would like to reshape my price data to long format, but my data is not wide formatted as well. What should I do before I use reshape command?

Snapshot from my dataset:

firma	firmb	firmc	date
.45	.57	.77	01dec1999
.6	1.09	1.64	01jan2000
.69	.95	1.61	01feb2000
.68	.87	1.83	01mar2000
.55	.72	1.58	01apr2000

Any help is appreciated.

Yours sincerely,

Enes Agaoglu

The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.

*   For searches and help try:

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index