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
Propensity score matching on countryHello together, I have a paneldata set and I want to run propensity score matching and restrict/for…
Line Plots : Count and Proportions Code: * Example generated by -dataex-. To install: ssc install dataex clear input int year str1 fi…
Fixed Effects Regression: Problem with interpretation of interaction term vs. sample splitDear all, I want to investigate the relationship of 'Working from home (WFH)' and Job Satisfaction …
Trouble with asclogit for Choice ExperimentDear All I conducted a choice experiment concerning eco labelled seafood where individuals were giv…
Doubts on interpreting my glm coeffcientsDear all, I want to verify if I'm interpreting my glm model right. I have a dependent variable, in …
Subscribe to:
Post Comments (Atom)
0 Response to Number of ID Variable in Panel Data
Post a Comment