Skip to content
Permalink
Browse files
Update Definitions
  • Loading branch information
leerho committed Feb 21, 2021
1 parent 13080f0 commit 624851a9a57e1baef1fd74075879c5c3ebf0b4d4
Showing 1 changed file with 3 additions and 2 deletions.
@@ -29,9 +29,10 @@ Before we can define *quantile*, we must first define what we mean by *rank*.
## What is a rank?
Given an ordered set of values the term rank can be defined two different ways.

> The ***natural rank*** is a *natural number* from the set of one-based, natural numbers, &#8469;<sub>1</sub>, and is derived by enumerating an ordered set of values, starting with the value 1, up to *n*, the number of values in the set.
* The **natural rank** is a **natural number** from the set of one-based, natural numbers, &#8469;<sub>1</sub>, and is derived by enumerating an ordered set of values, starting with the value 1, up to *n*, the number of values in the set.

> The ***normalized rank*** is a number between 0 and 1 computed by dividing the *natural rank* by the total number of values in the set, *n*. Thus, for finite sets, any *normalized rank* is in the range (0, 1]. Normalized ranks are often written as a percent. But don't confuse percent with percentile! This will be explained below.

* The ***normalized rank*** is a number between 0 and 1 computed by dividing the *natural rank* by the total number of values in the set, *n*. Thus, for finite sets, any *normalized rank* is in the range (0, 1]. Normalized ranks are often written as a percent. But don't confuse percent with percentile! This will be explained below.

In our sketch library and documentation, when we refer to *rank*, we imply *normalized rank*. However, in this tutorial, we will sometimes use *natural ranks* to simplify the examples.

0 comments on commit 624851a

Please sign in to comment.