Learn R Programming

merror (version 3.0)

Accuracy and Precision of Measurements

Description

N>=3 methods are used to measure each of n items. The data are used to estimate simultaneously systematic error (bias) and random error (imprecision). Observed measurements for each method or device are assumed to be linear functions of the unknown true values and the errors are assumed normally distributed. Pairwise calibration curves and plots can be easily generated. Unlike the 'ncb.od' function, the 'omx' function builds a one-factor measurement error model using 'OpenMx' and allows missing values, uses full information maximum likelihood to estimate parameters, and provides both likelihood-based and bootstrapped confidence intervals for all parameters, in addition to Wald-type intervals.

Copy Link

Version

Install

install.packages('merror')

Monthly Downloads

214

Version

3.0

License

GPL (>= 2)

Maintainer

Richard Bilonick

Last Published

August 29th, 2023

Functions in merror (3.0)

mle.se2

Compute squared standard errors for imprecision estimates for the constant bias model using paired data.
panel.merror

Draw diagonal line (line of equality) on merror.pairs plots
omx

Compute full information maximum likelihood estimates of accuracy and precision for the nonconstant bias measurement error model using 'OpenMx'.
process.var.mle

Compute process variance.
process.sd

Compute process standard deviation
precision.mle.ncb.od

Computes iterative approximation to mle precision estimates for nonconstant bias model using original data.
pm2.5

PM 2.5 Concentrations from SCAMP Collocated Samplers
precision.grubbs.cb.pd

Computes Grubbs' method of moments estimators of precision for the constant bias model using paired differences.
redshift

Spectroscopic and Photometric Galaxy Redshift Measurements
sigma_mle

Computes the ith iteration for computing the squared imprecision estimates.
process.var.mle.jaech.err

Compute process variance but with minor error in Jaech Fortran code.
ncb.od

Compute accuracy estimates and maximum likelihood estimates of precision for the nonconstant bias measurement error model using original data.
errors.nb

Extracts the estimated measurement errors assuming there is no bias and using the original data.
errors.cb

Extracts the estimated measurement errors assuming there is a constant bias and using the original data.
cb.pd

Compute accuracy estimates and maximum likelihood estimates of precision for the constant bias measurement error model using paired data.
lrt

Likelihood ratio test for all betas equalling one.
beta.bar

Compute the estimates of betas.
errors.ncb

Extracts the estimated measurement errors assuming there is a nonconstant bias and using the original data values.
mle

Compute maximum likelihood estimates of precision.
alpha.beta.sigma

Build an alpha-beta-sigma Matrix for Use with the cplot Function
cplot

Scatter plot of observations for a pair of devices with calibration curve.
merror.pairs

A modified "pairs" plot with all axes haveing the same range.
precision.grubbs.ncb.od

Computes Grubbs' method of moments estimators of precision for the nonconstant bias model using original data values.