# Decile calculator

For calculation deciles enter numerical data separated with comma (or space, tab, semicolon or new line). For example: 3.3, -6.2, 4.8, 7.8, 5.8, 6.0, 10.8, 6.1, 3.5, 6.2, 2.4, 3.1, 10.5, -2.1, 4.6, 7.1, 5.1, 1.7, 7.0, 9...### Decile

In statistics, a decile is any of the nine values that divide the sorted data into ten equal parts, so that each part represents 1/10 of the sample or population. A decile is one possible form of a quantile.

### How we calculate deciles?

We sort set of data with n items (numbers) and pick n/10-th item 1st decile, 2n/10-th item as 2nd decile and so on.
If indexes n/10, 2n/10, ..., 9n/10 aren't integers then we use interpolation between nearest items.

For example, for n=100 items, the first decile is 10th item of ordered data, 6th decile is 60th item etc.

### How to enter data as frequency table?

Simple. First-type data elements (separated by spaces or commas etc) then type f: and further write frequency of each data item. Each element must have defined frequency that number of numbers before and after symbol f: must be equal. For example:1.1 2.5 3.99

f: 5 10 15

### How to enter grouped data?

Grouped data are data formed by aggregating individual data into groups, so that a frequency distribution of these groups serves as a convenient means of summarizing or analyzing the data.group | frequency |

10-20 | 5 |

20-30 | 10 |

30-40 | 15 |

10-20 20-30 30-40

f: 5 10 15

### How to enter data as cummulative frequency table?

Similar as frequency table, but instead f: type cf: in second line. For example:10 20 30 40 50 60 70 80

cf: 5 13 20 32 60 80 90 100

The cumulative frequency is calculated by adding each frequency from a frequency distribution table to the sum of its predecessors. The last value will always be equal to the total for all observations, since all frequencies will already have been added to the previous total.