hoad.calib {LinCal}R Documentation

Bayesian Inverse Linear Calibration Function

Description

hoad.calib uses an inverse Bayesian approach to estimate an unknown X given observed vector y0 and calculates credible interval estimates.

Usage

hoad.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

Hoadley, B. (1970). A Bayesian look at Inverse Linear Regression. Journal of the American Statistical Association. 65, 356-369.

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)

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

[Package LinCal version 1.0.1 Index]