Hello all,
I would like to generate a table (and export into excel file) that describes wage (and number of employees) distribution by year that are below 5% (percentile) of variable number of employees (and wage, respectively).
I used sum L, d (for entire percentile) before but now i would like to see them only for distribution below 5p by year.
Could someone help me with this?
Below is the example of my dataset:
++ for the above data example, I erased some variables, but someone could help me with exporting a table (to excel file) that describes summary statistics of variables of interest (like L, wage here) by percentile & year , please?
Thank you very much in advance
I would like to generate a table (and export into excel file) that describes wage (and number of employees) distribution by year that are below 5% (percentile) of variable number of employees (and wage, respectively).
I used sum L, d (for entire percentile) before but now i would like to see them only for distribution below 5p by year.
Could someone help me with this?
Below is the example of my dataset:
Code:
* Example generated by -dataex-. For more info, type help dataex clear input long ID int(year L) float wage 1 2011 3 2715.333 1 2012 10 5961.2 1 2013 12 3171.083 1 2014 12 3432.667 1 2015 19 4242 1 2016 20 7136.9 1 2017 38 5947 1 2018 50 6130.42 1 2019 58 6073.069 1 2020 73 6129.589 1 2021 61 9232.901 2 2002 3 4998.333 2 2003 2 1386 2 2010 3 1824 2 2011 8 4173.375 2 2012 3 4966.333 3 2012 1 99 3 2013 1 117 3 2014 1 581 3 2015 1 119 3 2016 1 977 3 2020 1 189 4 2014 1 3051 4 2015 1 76 4 2016 1 7530 4 2017 1 7710 4 2018 1 970 5 2005 8 2571.875 5 2006 15 4940.667 5 2007 17 5842.765 5 2008 21 5827.571 5 2009 14 6355.571 5 2010 12 4302.6665 5 2011 11 6499.818 5 2012 9 5910.111 5 2013 10 5597.9 5 2014 10 6569.5 5 2015 7 8727.571 5 2016 9 7385.667 5 2017 10 7295 5 2018 9 8915.889 5 2019 9 9571.556 5 2020 9 8095.444 5 2021 9 8948.444 6 2015 1 105 6 2016 2 1383.5 6 2017 3 1142.6666 6 2018 4 924.5 6 2019 2 1680 6 2020 1 2910 6 2021 1 5605 7 2001 2 550.5 7 2002 2 734 8 2007 2 6558.5 8 2008 4 4433.5 8 2009 5 4169.8 8 2010 9 4644.778 8 2011 17 4404.294 8 2012 17 5559.588 8 2013 23 7158.304 8 2014 25 9421.92 8 2015 29 12231.76 8 2016 26 16147.692 8 2017 32 17542.313 8 2018 35 18273.943 8 2019 36 19041.027 8 2020 31 20974.87 8 2021 30 24479.166 9 2011 5 8114.4 9 2012 31 9406.839 9 2013 57 15195.07 9 2014 78 27598.09 9 2015 108 31650.85 9 2016 142 36375.586 9 2017 243 36786.543 9 2018 350 35074.22 9 2019 356 42939.02 9 2020 417 44790.5 9 2021 459 67097.58 11 2011 2 2421 11 2012 3 5874 11 2013 4 6029.75 11 2014 6 6395.167 11 2015 8 7362 11 2016 8 11283.5 11 2017 6 15205.333 11 2018 6 14488.333 11 2019 4 13614.5 11 2020 6 20224.166 11 2021 7 19604.86 33 2010 1 241 33 2011 1 522 33 2012 2 2022 44 2000 18 1987.9445 44 2001 22 1977.1364 44 2002 25 1920.56 44 2003 27 2597.963 44 2004 26 2471.923 44 2005 34 3146.971 44 2006 31 4138.871 end
++ for the above data example, I erased some variables, but someone could help me with exporting a table (to excel file) that describes summary statistics of variables of interest (like L, wage here) by percentile & year , please?
Thank you very much in advance
Comment