Code covered by the BSD License  

Highlights from
Passing and Bablok regression

Be the first to rate this file! 10 Downloads (last 30 days) File Size: 570.18 KB File ID: #24894
image thumbnail

Passing and Bablok regression

by Andrea Padoan

 

31 Jul 2009 (Updated 16 Jan 2010)

Passing & Bablok regression is a linear regression procedure usefull for comparing clinical methods

| Watch this File

File Information
Description

Passing & Bablok described this procedure in the 1983.
This procedure is ideal if you want to compare 2 different methods (instrument) which measure the same chemical analyte in the same sample.
Classical linear regression method assume that variables X and Y are normal distributed and with a measurement error costant over the range of concentrations.
However, in method comparison studies we generally find that the distribution of measurements is not normal and that variance of errors is not costant.
Passing & Bablok regression does not require specific assumptions regarding the distributions of the expected values or the error terms.

Description of the Function PassingBablok (x,y):

INPUT: x and y are arrays in column of values obtained measuring the same sample with 2 different analytical methods. It means that if you have i.e. i = 1....N samples, x (i) is the value obtained measuring the sample (i) with the method A and y (i) is the value obtained measuring the same sample (i) with the method B.
OUTPUT:
 1) Slope of the regression line
 2) 95% CI of the slope (slope_UB and slope_LB)
 3) intercept of the regression line
 4) 95% CI of the intercept (Intercept_UB and Intercept_LB)
 This function also perform a statistical test of linearity and return the p value, using the cumsum adapted method (Kolgomogorv-Smirnov adapted test) described by Passing and Bablok.
Three Graphs are plotted:
   a. Regression Graph, scatter plot with regression line
   b. Ranked residual Graph
   c. cumsum statistic

An example file are supply.

Required Products Statistics Toolbox
MATLAB release MATLAB 7.8 (R2009a)
Other requirements Tested also in MatLab 7.0
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
16 Jan 2010

I've added 95 % CI to Regression graph

Tag Activity for this File
Tag Applied By Date/Time
passing bablok regression Andrea Padoan 03 Aug 2009 11:26:18
statistics Andrea Padoan 03 Aug 2009 11:26:18
methods comparison Andrea Padoan 03 Aug 2009 11:26:18
clinical chemistry Andrea Padoan 03 Aug 2009 11:26:18
linear regression Andrea Padoan 03 Aug 2009 11:26:18
non parametric regression Andrea Padoan 03 Aug 2009 11:26:18
medical Andrea Padoan 03 Aug 2009 11:26:18

Contact us at files@mathworks.com