Hi, I have a panel data (large n and small T) with -id- as the panel variable and -year- as the time variable. The year variable ranges from 2000-2003 and id captures the number of firms.
The id variable is coded as follows:
--id-- --year--
1232 2000
1232 2001
1232 2002
1232 2003
1234 2000
1234 2001
1234 2002
1234 2003
When I summarise the dataset, minimum for id is 1 and max is 20,236. However, the id variable is not equally spaced so I cannot take 20,236 as the total number of firms in the data.
I need to find the number of firms in the dataset based on the id variable. How to proceed?
Related Posts with Number of ID Variable in Panel Data
MGARCH DVECH for panel dataDear all,
I am trying to estimate Diagonal VECH GARCH(1,1) model for a panel of 600 firms (ID) and …
Counting observations over duplicate datesHi all,
I'm an economics student in college, doing my best to learn STATA. I've browsed the forum a…
how to replace missing value by using the information in previous or following year?I am dealing with panel data of 20000 firms for period 2010-2015. I found the identity of some firms…
convergent validityHow would I calculate the convergent validity of two diagnostic tests where both outcome measures ar…
Hausman testI want to investigate if I have to use a random effects or fixed effects model. Therefore I run the …
Subscribe to:
Post Comments (Atom)
0 Response to Number of ID Variable in Panel Data
Post a Comment