Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: Identify Panel Structure of Dataset


From   [email protected]
To   [email protected]
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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index