What do the numbers of descriptive statistics tell you, and what are they for?
Take the hourly returns of BTCUSDT (bitcoin traded against USDT on Binance) from January 1, 2025 to August 14, 2026 as an example. An hourly return is the percentage change of the closing price from the previous hour, computed on 1-hour candles in UTC, which gives 14,184 values. The histogram below sorts the values into intervals 0.05% wide and counts the hours in each. It marks the mean, the median, the middle half of the data (Q1 to Q3) and the range of the mean ± 1 standard deviation.- Chart
- Python code
On the 14,184 returns, the mean is −0.0017%, the median +0.0008%, the standard deviation 0.4725% (variance 0.2233 %²), Q1 −0.1983%, Q3 +0.2022% and the IQR 0.4004 percentage points.
Try dropping the 96 hours in which the price moved by more than 2%, the hours outside the frame of the chart. They are only 0.7% of the hours but make up 22% of the sum of squared deviations, so the standard deviation falls by more than 11% (to 0.4183%) while the IQR falls by less than 1% (to 0.3974%). The mean changes to −0.0004%, and the median edges up to +0.0010%.
Divide the variance by when the data is a sample from a larger set, since dividing by tends to give a result lower than the variance of the whole set (Lane); divide by when the data is the whole set. NumPy divides by by default and pandas by , but with 14,184 values both give 0.4725%.
References
Sources: Lane, Online Statistics Education (Rice University), the NIST/SEMATECH e-Handbook sections 1.3.5.1 and 1.3.5.6, and the documentation of NumPy and pandas. Prices come from Binance’s public API.Read next
Law of large numbers
How close the average of many repetitions gets to the expected value, seen through coin tosses.
Expected value
The average profit or loss per bet, computed from a strategy’s win probability and its average win and loss.

