blandr.method.comparison: Bland-Altman method comparison

View source: R/blandr.method.comparison.r

blandr.method.comparisonR Documentation

Bland-Altman method comparison

Description

Everyone likes graphs, lines and T-tests. This uses the data provided to generate simple tests whilst trying to explain why they should be treated with caution in method comparison studies. This is hopefully the first step in getting people to use the Bland-Altman functions as I suspect everyone will try to do these tests anyway.

Usage

blandr.method.comparison(method1, method2, sig.level = 0.95)

Arguments

method1

A list of numbers.

method2

A list of numbers.

sig.level

(Optional) Two-tailed significance level. Expressed from 0 to 1. Defaults to 0.95.

Author(s)

Deepankar Datta deepankar.datta@gmail.com

References

Based on: (1) Bland, J. M., & Altman, D. (1986). Statistical methods for assessing agreement between two methods of clinical measurement. The Lancet, 327(8476), 307-310. http://dx.doi.org/10.1016/S0140-6736(86)90837-8

Linnet K., Limitations of the paired t-test for evaluation of method comparison data. Clin Chem. 1999 Feb;45(2):314-5. PMID: 9931067

Zaki R, Bulgiba A, Ismail R, Ismail NA. Statistical Methods Used to Test for Agreement of Medical Instruments Measuring Continuous Variables in Method Comparison Studies: A Systematic Review PLoS ONE 2012 7(5): e37908. doi: 10.1371/journal.pone.0037908

Examples

# Generates two random measurements
measurement1 <- rnorm(100)
measurement2 <- rnorm(100)

# Call the function
blandr.method.comparison( measurement1 , measurement2 )


blandr documentation built on June 22, 2024, 10:58 a.m.