Hello all,
I'm trying to replicate this graph shown below:

My data is as follows (not sure why there all the missing values there):
I got as far as this (which is not to say very far!)
I'd be grateful for your assistance!
I'm trying to replicate this graph shown below:
My data is as follows (not sure why there all the missing values there):
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input str39 Occupations double ShareofEmploymentinShortage str17 AverageShortageIntensity double AverageSurplusIntensity byte(E F G H I J K L M N O P Q R S T) "Managers" 81.81818181818183 ".4099444444444444" -.4615 . . . . . . . . . . . . . . . . "Professionals" 59.57446808510638 "0.550" -.35757894736842105 . . . . . . . . . . . . . . . . "Technicians and Associate Professionals" 54.761904761904766 ".5661666666666666" -.24071428571428571 . . . . . . . . . . . . . . . . "Clerical Support Workers" 66.66666666666666 ".42875" -.22837500000000002 . . . . . . . . . . . . . . . . "Service and Sales Workers" 59.375 ".2842631578947368" -.27538461538461534 . . . . . . . . . . . . . . . . "Skilled Agricultural Workers" 39.58333333333333 ".4716842105263158" -.3427142857142857 . . . . . . . . . . . . . . . . "Plant and Machine Operators" 50 ".481" -.23969999999999997 . . . . . . . . . . . . . . . . "Elementary Occupations" 14.814814814814813 ".44125" -.36013043478260875 . . . . . . . . . . . . . . . . "" . "" . . . . . . . . . . . . . . . . . "" . "" . . . . . . . . . . . . . . . . . "" . "" . . . . . . . . . . . . . . . . . "" . "" . . . . . . . . . . . . . . . . . "" . "" . . . . . . . . . . . . . . . . . "" . "" . . . . . . . . . . . . . . . . . "" . "" . . . . . . . . . . . . . . . . . "" . "" . . . . . . . . . . . . . . . . . "" . "" . . . . . . . . . . . . . . . . . "" . "" . . . . . . . . . . . . . . . . . "" . "" . . . . . . . . . . . . . . . . . "" . "" . . . . . . . . . . . . . . . . . "" . "" . . . . . . . . . . . . . . . . . "" . "" . . . . . . . . . . . . . . . . . "" . "" . . . . . . . . . . . . . . . . . "" . "" . . . . . . . . . . . . . . . . . "" . "" . . . . . . . . . . . . . . . . . "" . "" . . . . . . . . . . . . . . . . . "" . "" . . . . . . . . . . . . . . . . . "" . "" . . . . . . . . . . . . . . . . . "" . "" . . . . . . . . . . . . . . . . . "" . "" . . . . . . . . . . . . . . . . . "" . "" . . . . . . . . . . . . . . . . . "" . "" . . . . . . . . . . . . . . . . . "" . "" . . . . . . . . . . . . . . . . . "" . "" . . . . . . . . . . . . . . . . . "" . "" . . . . . . . . . . . . . . . . . end
Code:
twoway (bar ShareofEmploymentinShortage, over(Occupations) yaxis(1)) (dot AverageShortageIntensity AverageShortageIntensity , over( Occupations) yaxis(2))
Comment