I am plotting three kdensity graphs in one graph. The variable "x" is for all the same (a log-transformed IRR). The conditions are different for the three graphs. I am using the code:
Code:
kdensity x if bothbritish ==1, addplot (kdensity x if (managerAggEthniciy== "white_anglo" & ceoAggEthniciy!= "white_anglo") | (ceoAggEthnici == "white_anglo" & managerAggEthniciy!= "white_anglo")|| kdensity x if (managerAggEthniciy!= "white_anglo" & ceoAggEthniciy!= "white_anglo")) legend (ring(0) pos (2) label (1 "bothbritish") label (2 "onebritish") label (3 "notbritish"))
Best
Mar Array
0 Response to density plot y-axis (density) larger than 1
Post a Comment