Raw moment
A raw moment is a statistical quantity formed from a specified power of observations measured relative to zero, typically by summing or averaging those powers.
Modern C
A raw moment is the average or aggregate power of observations measured relative to zero.
- How it is used
- Organizes repeated performance measurements into quantities used to compute sample statistics.
- How deep it goes
- Defines the first raw moments as counts and sums of powers, without developing conversion formulas for other statistics.
- Examples
- Uses a lopsided timing sample and repeated C timing loops to motivate collecting statistics.
- What you can do after
- Evaluate/understand how counts and sums of powers support statistics for repeated measurements.
Modern C, Third Edition
A raw moment is the sum of a specified power of each value in a sample.
- How it is used
- Summarizes repeated performance measurements for computing statistics such as the mean and skew.
- How deep it goes
- Defines the general sum and interprets its first three orders, but does not derive formulas for every statistic.
- Examples
- Uses zeroth, first, and second moments alongside repeatedly timed C loops.
- What you can do after
- Apply it to accumulate sums of powers from measurements for later statistical calculations.
Related concepts
- varianceproduces · Variance is the expected squared deviation of a random variable from its mean, measuring the spread of its distribution.
- skewproduces · Skewness is a measure of the direction and degree of asymmetry in a probability distribution or observed data around its center.
- standard deviationproduces · Standard deviation is the nonnegative square root of variance and measures the typical dispersion of values around their mean in the original units.
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.

