Hi, I'm trying to overlay two densities and then draw a vertical line at the mean for pop2. I'm getting the density part fine, but can't figure out how to add a line. I was trying to use xline() but it seems as if that doesn't work with kdensity. My code (without all the titles and formatting) is just this:
Code:
kdensity pop1, addplot(kdensity pop2)
Comment