concept distribution in category churn

appears as: distribution, The distribution, distribution
Fighting Churn with Data

This is an excerpt from Manning's book Fighting Churn with Data.

The distribution of a metric is a term that statisticians and analysts use to describe these kinds of properties: things like the minimum, maximum, and what is typical.

Real churn case study data usually is similar in terms of the distribution and skew for metrics, but typically real company data has many more metrics for which only a small fraction of accounts have non-zero values. (I deliberately put one in the simulation for you to learn from, while still keeping the simulation parsimonious.)

Figure 5.12 Examples of summary statistics from the social network simulation dataset.
A close up of a piece of paper Description automatically generated
Table 5.1 Metric distribution summary statistics

Summary Statistic

Explanation

Percentage (%) non-zero

The percent of observations in the dataset where the metric is not zero. This is an important check on how rare a behavior is.

Mean

Also known as the average. The mean is a measure of a typical value for a metric. It is calculated by summing the metric on all observations and dividing by the number of observations.

Standard deviation

A measure of how varied the values of the metric are in the sense of whether all the values are relatively close to the typical value. A high standard deviation is when many 190 ©Manning Publications Co. To comment go to liveBook values are far from a typical value. It is sometimes convenient to refer to a metric value by how many standard deviations the value is from the mean. For example, if the mean is 20 and the standard deviation is 5, then a metric observation of 25 is said to be one standard deviation above the mean. In that case, 30 would be called two standard deviations above the mean, and so on. This terminology is useful because it conveys a sense of how a metric observation compares to the typical values without you needing to remember what the typical value is for every metric.

Skew

A statistical measure of how symmetric or lopsided the distribution of the metric is. This is the kind of lopsidedness that was observed in the cohort analyses earlier in this chapter. If the skew is exactly zero, then the low and high values are symmetrically distributed around the mean. If the skew is positive, then there are more observations of the metric that are higher than the mean than observations that are smaller than the mean. If the skew is negative, the opposite is true: more observations are smaller than the mean than those that are greater the mean. (You are not likely to see that in typical behavioral metrics.) Generally skews below 3 or 4 are not very significant, but metrics with skews of 5 or greater are significantly skewed.

Quantiles: "1%", "5%" etc

The 1% quantile is the metric value that 1% of observations have a value less than, while 99% of observations have a value that is greater than the 1% quantile. The 5% quantile is the metric value that 5% of the observations are less than that value and 95% are greater. This pattern continues for all the higher quantiles. Looking at the sequence of quantiles in the summary is a good way to get a sense of what percentage of customer values are in what range. For example, if you see that the 25th percentile of logins is 20 and the 75th percentile of logins is 100, then 50% of customers (75 – 25 = 50) have between 20 and 100 logins.

Median: 50% quantile

The median is another measure of a typical value for a metric, so it is like the mean. The median is the value where half of the observations are greater than the median value and half are less. That's the same thing as the 50% quantile. The median is a better measure of the typical value of a metric than the mean when the data includes extreme outliers, which is when the metric has a high skew. That's because extreme outliers raise the mean but not the median, so the median always reflects a customer in the middle.

Minimum & Maximum

The lowest and highest values observed on any customer.