liveBook · Manning

Relative standard deviation

Relative standard deviation is the standard deviation divided by the mean, expressing dispersion relative to the mean.

How 2 Manning books explain it

Modern C

Relative standard deviation is the standard deviation divided by the mean, expressing dispersion relative to the average.

How it is used
Uses relative standard deviation to judge variation in repeated run-time measurements.
How deep it goes
Defines the ratio, works a numerical case, and gives a qualitative low-percentage criterion without a fixed cutoff.
Examples
Calculates 0.31 / 0.6 ≈ 52% and shows C output reporting mean run time with a relative-deviation percentage.
What you can do after
Diagnose/debug with it by spotting run-time samples whose variation is substantial relative to their mean.

Read how Modern C explains relative standard deviation →

Modern C, Third Edition

Relative standard deviation is the standard deviation divided by the mean, expressing dispersion relative to the measured magnitude.

How it is used
Assesses whether repeated run-time measurements vary little relative to their mean.
How deep it goes
Defines the ratio, works through a numerical sample, and gives a low-percentage rule without a precise cutoff.
Examples
Uses a 0.6-second mean with 0.31-second standard deviation, plus C output formatted as a percentage.
What you can do after
Evaluate/understand whether a run-time sample has acceptably low relative variation, without treating the metric as a diagnosis of its cause.

Read how Modern C, Third Edition explains relative standard deviation →

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.