liveBook · Manning

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.

How 2 Manning books explain it

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.

Read how Modern C explains raw moment →

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.

Read how Modern C, Third Edition explains raw moment →

Related concepts

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.