Hello,
I am finding difficulty in tabulating my descriptive statistics in an easy and efficient way. Could you please help me figure out the descriptive statistics for each firm (per country) averaged across all years
Below is a sample of my data:
Accordingly, I would like to tabulate my results in the following format:
Thanking you in advance
Maysam
I am finding difficulty in tabulating my descriptive statistics in an easy and efficient way. Could you please help me figure out the descriptive statistics for each firm (per country) averaged across all years
Below is a sample of my data:
Code:
* Example generated by -dataex-. For more info, type help dataex clear input str7 Country str4 Year str7 Firm str14 num_of_offices str18 num_of_partners str8 distance "Belgium" "2009" "ABC" "6" "9" "2000" "Belgium" "2010" "ABC" "5" "10" "1000" "Belgium" "2011" "ABC" "4" "11" "2000" "Belgium" "2012" "ABC" "3" "12" "3000" "Belgium" "2010" "XYZ" "10" "15" "5000" "Belgium" "2011" "XYZ" "11" "16" "6000" "Belgium" "2012" "XYZ" "12" "17" "7000" "France" "2015" "MNO" "1" "11" "2000" "France" "2014" "MNO" "2" "12" "3000" "France" "2015" "TUV" "3" "13" "5000" "France" "2014" "TUV" "4" "20" "6000" "France" "2013" "DEF" "5" "21" "8000" "France" "2012" "DEF" "6" "22" "9000" end
NUM_OF_OFFICES | NUM_OF_PARTNERS | DISTANCE | ||||||||||||||
Country | Firm | Mean | SD | Q1 | Median | Q3 | Mean | SD | Q1 | Median | Q3 | Mean | SD | Q1 | Median | Q3 |
Belgium | ABC | |||||||||||||||
XYZ | ||||||||||||||||
France | MNO | |||||||||||||||
TUV | ||||||||||||||||
DEF |
Maysam
Comment