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
Granger-causality testHello Is it possible to perform a Granger-causality test including an instrumental variable using pa…
How to Aggregate Repeating Dates into new tableI can't remember how to effectively reshape repeating dates in a time series into a new table. Belo…
Comparing regression coefficients across groups in presence of fixed effects with suestHi all, I am trying to run regressions with a building by month panel. Each building have a unique b…
Fixed effects stability test or Joint F test for fixed effectsHello every one, I have the wage gap between immigrants and natives Born by census metropolitan are…
Generate dates that correspond to the 1st Tuesday of each monthHi, The Australian RBA meets the first Tuesday of each month 11 times a year (every months but Janu…
Subscribe to:
Post Comments (Atom)
0 Response to Panel data sample distribution
Post a Comment