Software for all major mass spectrometer manufacturers provides some out-of-the-box statistics to summarize measured data. Mass spectrometry
The arithmetic mean and its uncertainty¶
The arithmetic mean¶
The arithmetic mean for measurements indexed is
The variance¶
The variance measures the scatter of the data points around the mean value.
where is the mean defined in equation (1) and is the number of data points. The variance is tricky because it has the same units as your measurements, squared.
The standard deviation¶
The standard deviation also measures how your data points scatter around the mean, but this time in units that you actually understand.
where is the variance defined in equation (2).
The standard error¶
The standard error tells you how well you know the mean. It gets smaller as gets bigger, reflecting your improved knowledge of the mean as you make more measurements.
Standard deviation vs. standard error¶
Both the standard deviation and the standard error are used to represent uncertainties in measurements. So which should you use?
Use the standard deviation when you’re looking to describe the scatter among your measured data points. The standard deviation doesn’t change as you measure more data and increase . For instance, you might use the standard deviation to measure the reproducibility of your reference material measurements. You could use the standard deviation of your past reference material measurements to predict the range of values where your next reference material measurement is likely to be.
Use the standard error when you’re describing the uncertainty in a mean value. According to equation (4), the standard error gets smaller as increases, reflecting your increased confidence in the mean as you take more measurements. If you’ve just measured 100 isotope ratios, then the standard error best reflects your uncertainty in the mean of those 100 ratios. If you want to improve the uncertainty in the mean by a factor of two, then equation (4) says that you need to collect four times as much data with the same standard deviation.
Relative uncertainties¶
A relative uncertainty an absolute uncertainty (a standard deviation or a standard error) divided by the mean value. Relative uncertainties are often expressed in percent (e.g., ), but could also be expressed for instance in per mille or ppm.
Confidence Intervals¶
You can calculate a mean, standard deviation, and standard error for any dataset with more than one measurement. These three statistics are just the numbers that are calculated by the formulas given above. However, we usually want to make some more quantitative estimates about our data. For instance, a 95% confidence interval for the mean would be expected to contain the true value of the mean about 95% of the time. This idea helps you make the leap from an uncertainty (just a number) to a mental picture of what range of values might reasonably be attributed to the parameter (e.g., isotope ratio) you’re measuring.
Isotope ratio data are often presented as a mean value and a ±2σ confidence interval, interpreted as a 95% confidence interval. To construct a 95% confidence interval in this way, the σ that you want is the standard error, since it tells you about the uncertainty in the mean value. For instance, if you measure 100 isotope ratios with a mean of 1.234 and a standard deviation of 0.0120, then the standard error of the ratios is
and a 95% confidence interval for the mean ratio would be
To make a 95% confidence interval in this way, though, requires that you make a number of assumptions that are not always met by mass spectrometer data. For datasets that do not meet these assumptions, you can calculate a ±2σ confidence interval (these are just numbers that come from formulas), but it will not be a 95% confidence interval.
Assumptions¶
The following assumptions are baked into the way we report and think about