4.0

4.0 | 2 ratings Rate this file 142 downloads (last 30 days) File Size: 7.26 KB File ID: #20545

Clarke Error Grid Analysis

by Edgar Guevara Codina

 

01 Jul 2008 (Updated 18 Nov 2008)

Clarke EGA quantifies the accuracy of glucose estimates generated by meters as compared to reference

Download Now | Watch this File

File Information
Description

The Clarke error grid approach is used to assess the clinical significance of differences between the glucose measurement technique under test and the venous blood glucose reference measurements. The method uses a Cartesian diagram, in which the values predicted by the technique under test are displayed on the y-axis, whereas the values received from the reference method are displayed on the x-axis. The diagonal represents the perfect agreement between the two, whereas the points below and above the line indicate, respectively, overestimation and underestimation of the actual values. Zone A (acceptable) represents the glucose values that deviate from the reference values by ±20% or are in the hypoglycemic range (<70 mg/dl), when the reference is also within the hypoglycemic range. The values within this range are clinically exact and are thus characterized by correct clinical treatment. Zone B (benign errors) is located above and below zone A; this zone represents those values that deviate from the reference values, which are incremented by 20. The values that fall within zones A and B are clinically acceptable, whereas the values included in areas C-E are potentially dangerous, and there is a possibility of making clinically significant mistakes. [1,2]  
 
 Syntax:  
   
 [total, percentage] = clarke(y,yp)  
   
 Inputs:  
 y = reference values (mg/dl)  
 yp = predicted/estimtated values (mg/dl)  
   
 Outputs:  
 total = total points per zone:  
 total(1) = zone A,  
 total(2) = zone B, and so on  
 
 percentage = percentage of data which fell in certain region:  
 percentage(1) = zone A,  
 percentage(2) = zone B, and so on.  
   
 Example:  
 load example_data.mat  
 [tot, per] = clarke(y,yp)  
 
 References:  
 [1] A. Maran et al. "Continuous Subcutaneous Glucose Monitoring in Diabetic Patients"  
     Diabetes Care, Volume 25, Number 2, February 2002  
 [2] B.P. Kovatchev et al. "Evaluating the Accuracy of Continuous Glucose-Monitoring Sensors"  
     Diabetes Care, Volume 27, Number 8, August 2004  
   
 Edgar Guevara Codina  
 codina@REMOVETHIScactus.iico.uaslp.mx  
File Version 1.1  
November 18 2008  
Ver. 1.1 corrected upper B-C boundary, lower B-C boundary slope ok, thanks to Steven Keith from BD Technologies for the corrections!  
 MATLAB ver. 6.5.0.180913a (R13)

MATLAB release MATLAB 6.5 (R13)
Zip File Content  
Other Files clarke.m,
clarke_EGA.emf,
example_data.mat
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
03 Sep 2008 Guillermo Quintas A really useful job!.
09 Sep 2008 Steven Keith Overall, the logic is excellent. There are 2 suggestions: for the lower C region, the slope of the boundary should be 7/5 rather than 6/5. For the upper B-C boundary, there are two schools of though displayed in error grids being published. I think Clarke still uses a line parallel to 45deg rather than a line parallel to the +20% line. Very nice code.
04 Nov 2008 Edgar Guevara Codina Steven,  
 
First of all, thank you for the suggestions, I think I might have made some mistakes on the regions boundaries, since I measured all boundaries from a printed plot (on the referred articles) so nothing was very exact. I hope you could provide me with the original work from Clarke, to make the necessary corrections.
Please login to add a comment or rating.
Updates
04 Sep 2008 Linefeeds corrected in description
18 Nov 2008 Ver. 1.1 corrected upper B-C boundary, lower B-C boundary slope ok, thanks to Steven Keith from BD Technologies for the corrections!

Public Submission Policy

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Disclaimer prior to use.

Contact us at files@mathworks.com