sonny_plankton3141

sonny_plankton3141 t1_iujrxl1 wrote

Sorry for replying so late. Been on vacation.

Displot assumes a Normal Distribution, which can be negative as well. If you provide more data to displot e. g. Data = [0 1 2 2 3 3 3 3 4 4 5 5] it should shift to the right.

You may also find this introduction on Normal Distribution helpful

https://www.mathsisfun.com/data/standard-normal-distribution.html

Feel free to reach out, I’m happy to help

Best regards from Germany. :)

1

sonny_plankton3141 t1_ir2bra8 wrote

Hi! dist plot shows you a probability density function of the values you’ve provided.

The highest point of the curve is the mean of 2.5. The blue box signals the standard deviation of -2.5 and 2.5.

It basically tells you the probability of getting a certain value as long as the population is normally distributed. Getting -4 has a very very low chance for example.

You better use sns.displot( … …, kind=‘kde’) tho.

Hope this helps. Happy learning

1