R package for method comparison studies using tolerance intervals and errors-in-variables regressions.
This R package provides tools for assessing agreement in method comparison studies using tolerance intervals and errors-in-variables regressions. It includes functions for Bivariate Least Square (BLS) and Correlated Bivariate Least Square (CBLS) regressions, along with plotting and statistical analysis tools. The package supports both unreplicated and replicated data and offers graphical functions for displaying results in (X,Y) or (M,D) plots.
Key functions include BLS() and CBLS() for regression estimation, XY.plot() and MD.plot() for visualization, and MD.horiz.lines() for univariate tolerance intervals. The package also includes hyperbolic statistical intervals such as Confidence Intervals, Confidence Bands, Prediction Intervals, and Generalized Prediction Intervals.
| Version | 1.1.1 |
|---|---|
| License | AGPL-3 |
| Depends | R (>= 3.1.0), ellipse |
The main regression functions are BLS() for Bivariate Least Square regression and CBLS() for Correlated Bivariate Least Square regression.
You can use XY.plot() for (X,Y) plots and MD.plot() for (M,D) plots to display the results.
The package provides four hyperbolic statistical intervals: Confidence Interval (CI), Confidence Bands (CB), Prediction Interval (PI), and Generalized Prediction Interval (GI).
Yes, the package supports both unreplicated and replicated data for regression analysis.