mc.wlinreg {mcr}R 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.


[Package mcr version 1.3.3 Index]