huntlam.calib: Bayesian Classical Linear Calibration Function

View source: R/huntlam_calib.R

huntlam.calibR Documentation

Bayesian Classical Linear Calibration Function

Description

huntlam.calib uses the classical Bayesian approach to estimate an unknown X given observed vector y0 and calculates credible interval estimates.

Usage

huntlam.calib(x, y, alpha, y0)

Arguments

x

numerical vector of regressor measurments

y

numerical vector of observation measurements

alpha

the confidence interval to be calculated

y0

vector of observed calibration value

References

Hunter, W., and Lamboy, W. (1981). A Bayesian Analysis of the Linear Calibration Problem. Technometrics. 3, 323-328.

Examples

X <- c(1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10)
Y <- c(1.8,1.6,3.1,2.6,3.6,3.4,4.9,4.2,6.0,5.9,6.8,6.9,8.2,7.3,8.8,8.5,9.5,9.5,10.6,10.6)

huntlam.calib(X,Y,0.05,6)

LinCal documentation built on April 30, 2022, 1:06 a.m.