GraphFullCIs.XY {BivRegBLS}R Documentation

Plot all the DR and BLS potential solutions


Display a plot with all the DR and BLS potential solutions from OLSv to OLSh (useful for unreplicated data), choose between all the slopes (and their confidence intervals), all the intercepts (and their confidence intervals), all the confidence region (ellipses), the two extreme confidence intervals (for the expectation of Y) or the two extreme confidence bands.


GraphFullCIs.XY(FullCIs = NULL, BLS.estimate = NULL, lambda = NULL,
                xname = "X", yname = "Y", antilog = NULL, graph = "joint.ellipse",
       = 0, = FALSE, = NULL,
                include.H0 = TRUE, = TRUE)



a CIs.XY class object.


a BLS class object. The BLS estimates (obtained, for example, with replicated data) will be superimposed on the plot.


a lambdas class object. The value of λ_{XY} will be superimposed on the plot with its confidence interval.


a character string for the name of the X device.


a character string for the name of the Y device.


a character string or a numeric value. This argument displays the BLS results on the initial scales on the (X,Y) plot if a logarithmic transformation was used prior to the BLS function. Options available are: 10 or "e".


a character string for the type of graph: "slope" to plot all the slopes, "intercept" to plot all the intercepts,"joint.ellipse" to plot all the joint confidence intervals (ellipses), "CI" to plot the confidence intervals,"CB" to plot the confidence bands, "all" to plot all the plots on different windows.

a numeric vector (length equal 1 or 2) for the value of Δ: Y = X ± Δ to assess whether the two devices (X and Y) are equivalent or not. Two values of Δ can be entered to take into account the case where the equivalence threshold changes along the X axis.

a logical variable (TRUE or FALSE) whether Δ needs to be interpreted in percentage: Y = X ± Δ%.

a numeric value for the X threshold where the value of Δ changes if two Δ values are used in


a logical variable (TRUE or FALSE) whether the null hypothesis (slope = 1, intercept = 0) should lie on plot (in the case that the null hypothesis is out from the axes limits).

a logical variable (TRUE or FALSE) whether the confidence intervals should lie entirely in the plot.


The ellipses are plotted in an (β,α) coordinate system where the acceptance interval is a diamond. The slopes and the intercepts are plotted on the Y-axis with λ_{XY} assigned on the X-axis. The confidence intervals and confidence bands are displayed on a classical (X,Y) plot.


The plot requested by the argument graph.


Bernard G FRANCQ


Francq BG, Govaerts BB. Measurement methods comparison with errors-in-variables regressions. From horizontal to vertical OLS regression, review and new perspectives. Chemometrics and Intelligent Laboratory Systems, 2014; 134:123-139.
Francq BG, Govaerts BB. Hyperbolic confidence bands of errors-in-variables regression lines applied to method comparison studies. Journal de la Societe Francaise de Statistique 2014; 155(1):23-45.

See Also

XY.plot, BLS


# Estimate all the solutions with the DR and BLS regressions
# Estimate the BLS regression with replicated data
# Estimate the measurement error variances ratio
# Plot all the results with all the potential solutions
#   and superimpose the BLS regression estimated with replicated data
# Plot all the potential solutions for the confidence intervals and add two acceptance intervals
# Estimate all the solutions with the BLS regression
# Plot all the potential solutions for the confidence regions (ellipses)
GraphFullCIs.XY(FullCIs=res.full,xname="HPLC",yname="GC MS",graph="joint.ellipse")

[Package BivRegBLS version 1.1.1 Index]