What is Y-axis in this chart?
Closed this issue · 1 comments
21-Hidetaka-Ko commented
rosskipp commented
Hey!
Glad you enjoyed the blog post! 😄
This is a density plot - the ggplot docs say Gaussian kernel density estimation for distribution of x parameter
. So the Y values are the densities or likelihoods of the x parameter, in this case steps, at a given value. An alternative to this could have been two histograms to show the distribution differences, but I thought the lines would be easier to differentiate.
Here's some more info if you want to read more:
https://en.wikipedia.org/wiki/Probability_density_function
https://en.wikipedia.org/wiki/Kernel_density_estimation