Viewing a single comment thread. View all comments

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

ikashifkhan OP t1_ir7hl8k wrote

You're so helpful, you made me understand the whole topic so beautifully.

Thanks a bunch!!

1

ikashifkhan OP t1_ir7tz5q wrote

I have one more question, I provided the values from 0 to 5 but it's providing me negative values as well, why is it so?

1

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

ikashifkhan OP t1_iujtcf8 wrote

Greetings! I hope you have enjoyed your vacation to the fullest🤠. I just needed to learn and then strengthen my statistical concepts, and yes I did 😊🙂. Thanks for taking out time to guide me.

1