Abstract
An approach to estimating measurement error variances for any instrument having round-off effects that might also have instrument bias is presented. Recently finite instrument resolution effects on error variances have been studied, but negligible instrument bias was assumed and the contexts were different than considered here. Our intent is to use repeated measurements on several standards to estimate the instrument’s random and systematic error variances. Recognizing that rounding impacts item bias and variance in a manner that depends on the true value, an approach is presented to estimate random error variance and instrument systematic error variance. The key finding is that item-specific bias can interfere with the estimation of overall instrument bias unless appropriate error modeling and associated inference steps are taken.
Similar content being viewed by others
References
Orechwa Y, Bucher R (1997) Startup calibration and measurement control of the fuel conditioning facility in-cell electronic mass balances. J Nucl Mater Manag 25(2):12–19
Burr T, Sampson T, Vo D (2005) Statistical evaluation of FRAM gamma-ray isotopic analysis data. Appl Radiat Isot 62:931–940
Burr T, Hemphill G (2006) Multi-component radiation measurement error models. Appl Radiat Isot 64(3):379–385
Evaluation of Measurement Data-Guide to the Expression of Uncertainty in Measurement, *JCGM 100:2008 at http://www.bipm.org/en/publications/guides
Burr T (2008) In Doyle J, Ed, Elsevier Nuclear Safeguards, Security, and Nonproliferation, Oxford
ISO (1999) Inspection by measurement of workpieces and measuring instruments—Part 2: guide to the estimation of uncertainty in GPS measurement in calibration of measuring equipment and in product verification. ISO 14252-2, 1999
Philips S, Toman B, Estler W (2008) Uncertainty due to finite resolution measurements. J Res NIST 113(3):143–156
Lee C, Vardeman S (2001) Interval estimation of a normal process mean from rounded data. J Qual Technol 33(3):335–348
Lee C, Vardeman S (2002) Interval estimation of a normal process standard deviation from rounded data. Commun Stat 31(1):12–34
Lee C, Vardeman S (2003) Confidence intervals based on rounded data from the balanced one-way normal random effects model. Commun Stat 32(3):835–856
Vardeman S, Lee C (2005) Likelihood-based statistical estimation from quantized data. IEEE Trans Instrum Meas 54(1):409–414
Frenkel R (2009) Fiducial inference applied to uncertainty estimation when identical readings are obtained under low instrument resolution. Metrologia 46:661–667
Lira I (2006) Resolution revisited. Metrologia 33:L14–L17
Taraldsen G (2006) Instrument resolution and measurement accuracy. Metrologia 43:539–544
Frenkel R, Kirkup L (2005) Monte Carlo-based estimation of uncertainty owing to limited resolution of digital instruments. Metrologia 42:L27–L30
Elster C (2000) Evaluation of measurement uncertainty in the presence of combined random and analogue-to-digital conversion errors. Meas Sci Technol 11:1359–1364
Vardeman S (2005) Sheppard’s correction for variances and the “quantization noise model”. IEEE Trans Instrum Meas 54(5):2117–2119
Jaech J (1973) Statistical methods in nuclear material control, technical information center, US Atomic Energy Agency
R Development Core Team (2004) R: a languange and environment for statistical computing. R Foundation for Statistical Computing. www.r-project.org
Hastie T, Tibshirani R, Friedman J (2001) The elements of statistical learning. Springer, New York
Geyer C (2010) mcmc: Markov Chain Monte Carlo. R package version 0.8. http://CRAN.R-project.org/package=mcmc
Gilks W, Richardson S, Spiegelhalter D (1996) Markov chain Monte Carlo in practice. Chapman and Hall, Boca Raton
Acknowledgments
This work was funded as part of the Next Generation Safeguards Initiative of the National Nuclear Security Administration.
Author information
Authors and Affiliations
Corresponding author
Appendix
Appendix
Given repeated measurements of multiple standards, Equation 6 in the main text can be extended from one to N > 1 standards as
for true values x 1, x 2, …, x N where Φ denotes the cumulative normal distribution. The data are the observed integer values k ij and the unknowns are B and σ R . Throughout this paper, the balance is assumed to round to the nearest integer, but accommodating any other balance resolution is straightforward. And the random balance errors are assumed to be normal but accommodating any other distribution is also straightforward.
Equation 8 can be used to find the maximum likelihood (ML) or Bayesian estimates of B and σR. Our strategy to find the Bayesian estimates is Markov Chain Monte Carlo (MCMC) as described in [22]. Briefly, MCMC is Monte Carlo integration using Markov chains, in a manner that provides observations from the posterior distribution of all parameters (B and σ R in our case). As an aside, if we regard the true values as having a nominal (mean) value and a standard deviation, then uncertainty in the nominal standard values is easily accommodated, by modifying σ R to include the standard deviation in the standard’s true value.
To implement MCMC, we used the open-source, widely distributed, and free statistical programming language R and the mcmc package. The metrop function in the mcmc package [21] implements the metropolis algorithm to propose new parameter values and accept them as observations from the posterior with appropriate probabilities. The main technical issue with MCMC is to check that the implementation produces samples from the correct stationary distribution. We used standard diagnostic plots and the guidance suggested with the mcmc package to assess convergence to the correct stationary distribution.
Here is the R code for the normally distributed balance errors case. First, we need to define the likelihood (Eq. 8). Let the vec object hold the values (B, σ R ), yuse be a list (one component for each standard) of the observed data, and xuse be the vector of true (nominal) standard values. The log likelihood (named ludvn) is then:
The gamma function used as the prior for σ R puts zero probability on negative values, so σ R is constrained by its prior distribution to be nonnegative. The scaling parameter for the gamma is chosen so that the prior is noninformative, putting probability on a large range of nonnegative values. Similarly, the prior for B is noninformative, centered at 0 with a large standard deviation compared to the round-off interval.
The call to metrop in the mcmc package is:
-
out1 = metrop(obj = ludvn,initial = init.temp, blen = 10,scale = 0.1,nbatch = 1000,
-
x = xuse,y = yuse,round.interval = 1)
By trial and error, we found blen = 10 and scale = 0.1 led to good convergence results.
-
The main summaries of the posterior in out1 are:
-
mean(out1$batch [,1]) # estimate of B
-
mean(out1$batch [,2]) # estimate of σ R
-
var(out1$batch [,1])^.5 # standard deviation of B
-
var(out1$batch [,2])^.5 # standard deviation of σ R
-
quantile(out1$batch [,1],probs = c(.025,.975))# 95% posterior probability interval for B
-
quantile(out1$batch [,2],probs = c(.025,.975)) # 95% posterior probability interval for σ R
Example (Simulated Example 2 in section “Simulated example 2”):
-
xuse = c(100.0,100.2,100.4,100.5)
-
sigmaR = 0.05; n = 200; B = 0
-
yuse = list(round(rnorm(n,xuse [1] +B,sigmaR),0),
-
round(rnorm(n,xuse [2] +B,sigmaR),0),round(rnorm(n,xuse [3] +B,sigmaR),0),
-
round(rnorm(n,xuse [4] +B,sigmaR),0))
-
library(mcmc)
-
# set initial values near true values or near ML estimates from nlminb
-
init.temp = c(0+.01*rnorm(1),sigmaR * (1+.1* rnorm(1)))
-
# set initial values near true values
We define effective random error variance as the sum of pure random error variance and the square of the item-specific bias.
If there is no overall instrument bias, then it is assumed that the item-specific biases will average to zero across a sufficiently large group of items.
Users who require estimates of B and σR but do not require the estimated standard deviations in these estimates can use nlminb or optim in R instead of MCMC. Using the same simulated example 2 from section “Simulated example 2”, nlminb produces:
# nlminb finds parameters that minimize the objective function, so use neg = T
temp = nlminb(start=c(B,sigmam),objective=ludvn,neg=T)
Rights and permissions
About this article
Cite this article
Burr, T., Hamada, M.S., Cremers, T. et al. Measurement error models and variance estimation in the presence of rounding error effects. Accred Qual Assur 16, 347–359 (2011). https://doi.org/10.1007/s00769-011-0791-0
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00769-011-0791-0