mc.wlinreg: Calculate Weighted Ordinary Linear Regression and Estimate...

View source: R/mcLinReg.r

mc.wlinregR Documentation

Calculate Weighted Ordinary Linear Regression and Estimate Standard Errors

Description

The weights of regression are taken as reverse squared values of the reference method, that's why it is impossible to achieve the calculations for zero values.

Usage

mc.wlinreg(X, Y)

Arguments

X

measurement values of reference method.

Y

measurement values of test method.

Value

a list with elements.

b0

intercept.

b1

slope.

se.b0

respective standard error of intercept.

se.b1

respective standard error of slope.

xw

weighted average of reference method values.

References

Neter J., Wassermann W., Kunter M. Applied Statistical Models. Richard D. Irwing, INC., 1985.


mcr documentation built on Sept. 23, 2024, 5:10 p.m.