powered by
hoad.calib uses an inverse Bayesian approach to estimate an unknown X given observed vector y0 and calculates credible interval estimates.
hoad.calib
hoad.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
Hoadley, B. (1970). A Bayesian look at Inverse Linear Regression. Journal of the American Statistical Association. 65, 356-369.
# 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) hoad.calib(X,Y,0.05,6) # }
Run the code above in your browser using DataLab