File:Bland-altman plot.png

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file (1,008 × 1,008 pixels, file size: 39 KB, MIME type: image/png)

Captions

Captions

Add a one-line explanation of what this file represents

Summary

[edit]
Description
English: An example of Bland-Altman disagreement plot with the same data set used by Bland and Altman in their original publication at Lancet (1996). The two extreme lines are the +2 and -2 standard deviation of the difference between two methods.
Date 2 August 2008 (upload date)
Source Own work
Author Dekisugi
Other versions
This graph image could be re-created using vector graphics as an SVG file. This has several advantages; see Commons:Media for cleanup for more information. If an SVG form of this image is available, please upload it and afterwards replace this template with {{vector version available|new image name}}.


It is recommended to name the SVG file “Bland-altman plot.svg”—then the template Vector version available (or Vva) does not need the new image name parameter.

Creation

[edit]

This plot was created by using the R statistical programming language. Here is the function:

bland_altman_plot <- function(method1,method2,
	xlab="Average", ylab="Difference")
{
	avgMean <- stack(mean(as.data.frame(t(cbind(method1,
		method2)))))$values
					
	diff <- method1 - method2
	plot(diff ~ avgMean,pch=16,ylim=c(-100,100),xlab=xlab,ylab=ylab)
	
	abline(h=mean(diff)-c(-2,0,2)*sd(diff),lty=2)
}

Licensing

[edit]
I, the copyright holder of this work, hereby publish it under the following licenses:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
You may select the license of your choice.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current02:30, 2 August 2008Thumbnail for version as of 02:30, 2 August 20081,008 × 1,008 (39 KB)Dekisugi~commonswiki (talk | contribs){{Information |Description={{en|1=An example of Bland-Altman disagreement plot with the same data set used by Bland and Altman in their original publication at Lancet (1996).}} |Source=Own work by uploader |Author=Dekisugi |Date=02-08-20

The following 2 pages use this file:

File usage on other wikis

The following other wikis use this file: