Hello Everyone,
I am looking for a STATA command which can give sample distribution by year and how many firms I have for each year. Below is the example:
Year Number of observations Percent Number of unique firm Percent
2004 870 7.56 870 57.73
2005 890 7.73 89 5.91
2006 941 8.18 110 7.30
I have tried tab1 year, but it only gives me number of observations for each year not the number firms for each year.
Thank you in advance.
Regards
Jaskaran Kaur
Related Posts with Panel data sample distribution
Excel Table split by socio-demographics using PutexcelHello fellow Stata community, I´m looking for a way to automate my Analysis Output to Excel using P…
Exporting detailed summary statistics to WordHello helpful Stata users, I am trying to generate a word export of my dependent variable via the s…
Systems of simultaneous equations with non-linear constraintsDear Stata users, I have the following issue: I have to estimate a system of simultaneous equations…
egen maxdate gives dates 01/01/2500Hello everyone I am trying to get the difference between two dates to calculate follow up per patie…
Weight in panel dataDear users, I am working with a static panel dataset including variables at the household level for…
Subscribe to:
Post Comments (Atom)
0 Response to Panel data sample distribution
Post a Comment