Hi, I am using kde2d package for whale distribution data. I would like to plot the 50% and 95% kernels to look at where the core of the sightings are being made. Is this possible with this package? I am also not sure what the current legend means. I like the colour gradation that shows highly dense areas vs. lower density areas but it would be great if I could figure out why the numbers are as high as they are. I would appreciate any help on this matter please.
I have a problem: Im having a vector of log returns (1189 rows) whose distribution i want to estimate with a kernel distribution.
So i just type in: "ksdensity(returnvector)". I get a curve, which looks ok, but on the y axis, I get values up to 60 (nothing normalised). And the mean (by clicking on the curve, choosing tools and data statistics) is completely different from the normal mean calculated as "mean(returnvector)". I dont know what is wrong here, which mean do i need to chose and which std??