Learn R Programming

mcr (version 1.2.1)

mc.paba: Passing-Bablok Regression

Description

Passing-Bablok Regression

Usage

mc.paba(angM, 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. 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.