Hi, I am using the multidensity package. Here's what I've tried:
But the line does not appear. I'm really lost as to why this occurs. I'd like to add mean and median lines to my kdensity plots for each density.
Code:
sysuse auto, clear
multidensity gen price, by(foreign)
su _density1, meanonly
multidensity super, recast(area) opt1(lcolor(orange) color(orange%40) xline(`r(mean)') opt2(lcolor(blue) color(blue%40)) title("Price (USD)")

Comment