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

st: Generating index numbers with panel data in long format

From   Manfred Fleischer <>
Subject   st: Generating index numbers with panel data in long format
Date   Mon, 15 Jun 2009 19:57:27 +0200


Would anyone know whether there exists a possibility to generate index
numbers over time with panel data stored in long format.

The dataset consists of new firm entry and exit rates for German
counties from 1983 to 2004. It looks like this

county-id    year    entry   exit
1     1983    35     33
1     1984    37     36
1     1985    38     39
2     1983    120    125
2     1984    122    127
2     1985    125    130

Now I would like to generate index numbers by county for entry and
exit e.g. with 1984 as the base year. I have looked for egen and
time-series commands, but I couldn't find a solution. Maybe the only
solution is to reshape the file into the wide format, compute the
index numbers there and then return with the generated index numbers
in the long format. But that's what I don't know.

Any help is very much appreciated.
Manfred Fleischer
D-52159 Roetgen-Rott (Kreis Aachen), Germany

*   For searches and help try:

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