Hopefully, you will be doing well, I want to add percentage of each industry in the left of Total column, How can I do this?
Need your valuable suggestions. the said table is given below.
Thanks in Advance
Code:
tabulate psxsectorcode year
| Year
PSXSectorCode | 2014 2015 2016 2017 2018 2019 | Total
----------------------+------------------------------------------------------------------+----------
AutoMobile Assembler | 12 12 12 12 12 12 | 72
AutoMobile Parts&Acce | 7 7 7 7 7 7 | 42
Cable & Electrical Go | 5 5 5 5 5 5 | 30
Cement | 20 20 20 20 20 20 | 120
Chemical | 27 27 27 27 27 27 | 162
Engineering | 11 11 11 11 11 11 | 66
Fertilizer | 5 5 5 5 5 5 | 30
Food & Personal Produ | 17 17 17 17 17 17 | 102
Glass & Ceramics | 8 8 8 8 8 8 | 48
Leather & Tanneries | 1 1 1 1 1 1 | 6
Miscellaneous | 10 10 10 10 10 10 | 60
Oil & Gas Exploration | 4 4 4 4 4 4 | 24
Oil & Gas Marketing C | 8 8 8 8 8 8 | 48
Paper & Board | 8 8 8 8 8 8 | 48
Pharmaceuticals | 10 10 10 10 10 10 | 60
Power Generation & Di | 14 14 14 14 14 14 | 84
Refinery | 5 5 5 5 5 5 | 30
Sugar & Allied Indust | 29 29 29 29 29 29 | 174
Synthetic & Rayon | 8 8 8 8 8 8 | 48
Technology & Communic | 13 13 13 13 13 13 | 78
Textile Composite | 54 54 54 54 54 54 | 324
Textile Spinning | 30 32 31 31 32 31 | 187
Textile Weaving | 5 5 5 5 5 5 | 30
Tobacco | 2 2 2 2 2 2 | 12
Transport | 4 4 4 4 4 5 | 25
Vanaspati & Allied In | 2 2 2 2 2 1 | 11
Woolen | 1 1 1 1 1 1 | 6
----------------------+------------------------------------------------------------------+----------
Total | 320 322 321 321 322 321 | 1,927
0 Response to Sample Distribution by Year and Industry
Post a Comment