5.0

5.0 | 2 ratings Rate this file 363 downloads (last 30 days) File Size: 4.81 KB File ID: #12705

Clinical Test Performance

by Giuseppe Cardillo

 

19 Oct 2006 (Updated 07 Oct 2009)

Code covered by BSD License  

The test calculate the performance of a clinical test based on the Bayes theorem

Download Now | Watch this File

File Information
Description

This function calculate the performance, based on Bayes theorem, of a clinical test. The input is based on a 2x2 matrix (true positive, false positives; false negative, true negatives).
The Outputs are:
- Prevalence of disease
- Test Sensibility with 95% confidence interval
- Test Specificity with 95% confidence interval
- False positive and negative proportions
- Youden's Index
- Matthews Correlation Coefficient
- Number needed to Diagnose (NDD)
- Discriminant Power
- Test Accuracy
- Mis-classification Rate
- Positive predictivity with 95% confidence interval
- Negative predictivity with 95% confidence interval
- Positive Likelihood Ratio
- Negative Likelihood Ratio
- Test bias
- Diagnostic odds ratio
- Error odds ratio

MATLAB release MATLAB 7.1.0 (R14SP3)
Zip File Content  
Other Files license.txt,
partest.m
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
11 Mar 2007 catalin001@k.ro mihai  
10 Oct 2009 Jan Simon

Exhaustively commented, so you get not only the resulting numbers, but also the exact description of what they mean, if you read the source.

Please login to add a comment or rating.
Updates
23 Oct 2006

Improvement in the first line

23 Oct 2006

fix in errors messages

23 Oct 2006

Fix bug in the first line

30 Oct 2006

Error handling improvements

05 Jul 2007

Youden's index and Discriminant Power added

18 Aug 2007

Added new outputs

30 Apr 2008

minor bugs correction

20 May 2008

Matthews Correlation Coefficient added

12 Nov 2008

Changes in help section

15 Dec 2008

Added a plot of the main results

09 Feb 2009

Mistake correction in discrimination power formula (Thank you Prof. Hans Winkler!)

27 Jul 2009

confidence interval for sensibility and specificity added

29 Jul 2009

Added new 95% confidence intervals for positive and negative predictive values

07 Oct 2009

Help section was updated; computations are more efficient and output is more rational. Statistics are fully detailed.

Tag Activity for this File
Tag Applied By Date/Time
biotech Giuseppe Cardillo 22 Oct 2008 08:44:33
pharmaceutical Giuseppe Cardillo 22 Oct 2008 08:44:33
clinical test performance Giuseppe Cardillo 22 Oct 2008 08:44:33
sensibility Giuseppe Cardillo 22 Oct 2008 08:44:33
bayes theorem Giuseppe Cardillo 22 Oct 2008 08:44:33
specificity Giuseppe Cardillo 22 Oct 2008 08:44:33
pharmaceutical Cristina McIntire 12 Nov 2008 13:56:41
biotech Cristina McIntire 12 Nov 2008 13:56:45
bayes theorem Claudio Gelmi 06 Mar 2009 14:28:51
 

MATLAB Central Terms of Use

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 Terms prior to use.

Contact us at files@mathworks.com