powered by
huntlam.calib uses the classical Bayesian approach to estimate an unknown X given observed vector y0 and calculates credible interval estimates.
huntlam.calib
huntlam.calib(x, y, alpha, y0)
numerical vector of regressor measurments
numerical vector of observation measurements
the confidence interval to be calculated
vector of observed calibration value
Hunter, W., and Lamboy, W. (1981). A Bayesian Analysis of the Linear Calibration Problem. Technometrics. 3, 323-328.
# NOT RUN { 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) # }
Run the code above in your browser using DataLab