mc.paba {mcr}R Documentation

Passing-Bablok Regression

Description

Passing-Bablok Regression

Usage

mc.paba(
  angM = NULL,
  X,
  Y,
  alpha = 0.05,
  posCor = TRUE,
  calcCI = TRUE,
  slope.measure = c("radian", "tangent")
)

Arguments

angM

upper triangular matrix of slopes for all point combinations (optional). Slopes in radian.

X

measurement values of reference method

Y

measurement values of test method

alpha

numeric value specifying the 100(1-alpha)% confidence level

posCor

should algorithm assume positive correlation, i.e. symmetry around slope 1?

calcCI

should confidence intervals be computed?

slope.measure

angular measure of pairwise slopes (see mcreg for details).
"radian" - for data sets with even sample numbers median slope is calculated as average of two central slope angles.
"tangent" - for data sets with even sample numbers median slope is calculated as average of two central slopes (tan(angle)).

Value

Matrix of estimates and confidence intervals for intercept and slope. No standard errors provided by this algorithm.


[Package mcr version 1.3.3 Index]