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, statalist.org is already up and running.


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

st: Identify Panel Structure of Dataset


From   Katharina.Eck@lrz.uni-muenchen.de
To   statalist@hsphsun2.harvard.edu
Subject   st: Identify Panel Structure of Dataset
Date   Mon, 3 Oct 2011 20:44:13 +0200 (CEST)

Hi all,

I have compiled a dataset with firm-product-year information, e.g.:


Firm      Product           t    Salesvalue
A              1          2000     5000
A              1          2001     5500

A              2          2000     3000
A              2          2001     3500
A              2          2002     4000

B              3          2001      500
B              3          2002      550
B              3          2003      710

B              4          2001     2000
B              4          2002     4000
...
Basically, firms have different products and report info on their products
for different years. Firm A has info for the years 2000-2001 (Product 1)
and for 2000-2002 (Product 2) while B reports on Product 3 in 2001-2003
and in 2001-2001 on Product 4.
I want to find out which time horizon I should use for my panel to get the
longest time horizon possible. In this example, I would use t=2001,2002
since both, A and B report in both years.

How can I do this in Stata?


Thank you for your help!

Katharina

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


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