//激烈程度--分规模
use "11.dta",replace
gen d03=.
replace d03=1 if d03_annualrev2022 <= 2000 & d03_annualrev2022 !=.
replace d03=2 if d03_annualrev2022 > 2000 & d03_annualrev2022 <= 10000 ///
& d03_annualrev2022 !=.
replace d03=3 if d03_annualrev2022 >10000 & d03_annualrev2022 !=.
drop if d03==.
tostring d03,replace
replace d03="0-2000万" if d03=="1"
replace d03="2000万-1亿" if d03=="2"
replace d03="1亿以上" if d03=="3"
graph hbar c12_competition, over(d03) ///
bar(1, lwidth(thin)) ///
bar(2, lwidth(thin)) ///
title("公司招聘层面的人才竞争激烈程度", position(12) size(medium)) ///
ytitle("平均分") ///
ylabel(3(0.1)4) ///
exclude0 ///
blabel(bar,format(%6.3f))
save "激烈程度--分规模.gph", replace
graph export "激烈程度--分规模.png", as(png) replace