Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

quantile vs quartile in lay terms

My limited understanding is quantile and quartile are some sort of similar but totally different ways of measurement. I googled but could not find an easy to understand explanation. There is a D3 related question here but no answer yet.

My specific question is when we should use quantile instead of quartile or vice versa? I appreciate for any lay term explanation or trivial example. Thanks!

like image 919
ngungo Avatar asked Oct 23 '14 16:10

ngungo


1 Answers

The cumulative density function gives you the probability of a random variable being on or below a certain value.

The quantile function is the opposite of that. i.e. you give it a probability and it tells you the random variable value.

So the median is the value of the quantile at the probability value of 0.5.

A quartile is the value of the quantile at the probabilities 0.25, 0.5 and 0.75.

So, in general, you can use the quantile. The quartile is a special case.

like image 158
Bathsheba Avatar answered Sep 29 '22 14:09

Bathsheba