Das α Perzentil
Der Wert, für den gilt, dass α Prozent aller Datenpunkte kleiner sind und 1−α Prozent der Werte größer sind.
Definition
Let F be a CDF. Then xp is called p-Quantile if
F(xp−)≤p≤F(xp)
- F has exactly one p-quantile when there is at most one t with F(t)=p
- Similar definition when working with real probabilities P((−∞,xp])≥p and P([xp,∞))≥1−p
x0.25,x0.5,x0.75 are called quartiles.
We can use quantiles to calculate
We use the Quantile Function to quickly calculate quantiles of a given CDF.
Quantiles of a data sequence can be best visualized using a Boxplot.
Empirical Quantiles
QFn(⋅;x)−(p)=min{t∈R∣i=1∑n1(−∞,t](x(i))≥np}=x(⌈np⌉)QFn(⋅;x)+(p)=max{t∈R∣i=1∑n1(−∞,t)(x(i))≤np}=x(⌊np⌋+1)
Smallest p-Quantile
QF−(p):=min{t∈R∣F(t)≥p} > Proof
- F(t)≥p exists since F is bounded by 0 and 1 from below and above
- Hence tp=inf(F(t)≥p)
- Due to right continuity we even have tp=min(F(t)≥p)
Largest p-Quantile
QF+(p):=max{t∈R∣F(t−)≤p}
Other Definition
xp:=⎩⎨⎧2xN⋅p+xN⋅p+1x⌊N⋅p+1⌋ falls N⋅p ganzzahlig falls N⋅p nicht ganzzahlig