Dear Profs and colleagues,
I am going to plot this graph: occupation skill is sk_rat_quartile in 4 groups. Could you please assist me to plot it.

Cheers,
Paris
I am going to plot this graph: occupation skill is sk_rat_quartile in 4 groups. Could you please assist me to plot it.
Code:
tab sk_rat_quartile
4 quantiles |
of sk_ratio | Freq. Percent Cum.
------------+-----------------------------------
1 | 80 25.00 25.00
2 | 80 25.00 50.00
3 | 80 25.00 75.00
4 | 80 25.00 100.00
------------+-----------------------------------
Total | 320 100.00
* Example generated by -dataex-. For more info, type help dataex
clear
input double(year immigrant) float native byte sk_rat_quartile
2013 1059 23060 1
2012 1104 23482 1
2014 999 24646 1
2015 1066 26193 1
2016 1276 28540 1
2011 1701 29488 1
2017 1458 32441 1
2010 2170 32992 1
2019 3209 32668 1
2018 2292 34049 1
2013 1120 15231 2
2012 1150 15218 2
2014 1247 16758 2
2011 1484 17692 2
2015 1501 17852 2
2010 1630 18247 2
2016 1562 19657 2
2017 1913 21684 2
2018 2432 22921 2
2019 3298 23724 2
2013 915 16680 3
2012 1053 17182 3
2014 933 18030 3
2015 1025 19935 3
2011 1296 20118 3
2010 1387 20767 3
2016 1168 21380 3
2017 1396 24060 3
2018 1941 25975 3
2019 2716 27139 3
2013 399 13818 4
2012 346 14010 4
2014 535 15494 4
2011 394 16119 4
2015 579 15992 4
2010 348 16577 4
2016 914 16872 4
2017 1117 17963 4
2018 1400 19486 4
2019 1646 20789 4
2014 2162 39776 1
2015 2257 39816 1
2013 2252 40300 1
2016 2855 41260 1
2012 2490 42716 1
2017 3361 43908 1
2018 4373 45524 1
2019 6277 44585 1
2011 3415 51246 1
2010 4081 56330 1
2013 2167 26351 2
2014 2371 26881 2
2012 2331 27278 2
2015 2669 27261 2
2016 3041 28429 2
2017 3490 29720 2
2011 2901 30423 2
2010 2805 30697 2
2018 4407 30405 2
2019 5884 30817 2
2014 1692 28236 3
2015 1834 28479 3
2013 1693 28745 3
2016 2046 29216 3
2012 1699 30589 3
2017 2307 30450 3
2018 2877 31326 3
2010 2132 33492 3
2019 3886 31799 3
2011 2301 34093 3
2015 1008 26800 4
2016 1287 26656 4
2017 1598 27396 4
2014 922 28380 4
2013 780 28775 4
2018 2011 28459 4
2012 767 31001 4
2019 2594 29419 4
2010 774 35558 4
2011 878 35588 4
2016 3331 51943 1
2015 3021 52589 1
2017 3745 52073 1
2018 4949 51578 1
2019 7033 49765 1
2014 2980 53987 1
2013 3189 54651 1
2012 3572 56585 1
2011 5107 64083 1
2010 6489 67491 1
2015 2655 32248 2
2016 3025 32363 2
2014 2525 32911 2
2013 2519 33037 2
2017 3610 32591 2
2012 2657 33707 2
2018 4554 32700 2
2019 5910 32603 2
2010 3375 35988 2
2011 3332 36250 2
end
Cheers,
Paris

Comment