|
|
| File Information |
| Description |
This function calculates the Risk Ratio and the Odds Ratio (OR) on a 2x2 input matrix. Both ratios are computed with confidence intervals. If confidence interval of OR doesn't encompass the value OR=1, then the function computes the Bayesian Credibility Assessment of the test. If the test is credible, the function calculates the Association Parameter Phi. The association parameter Phi=sqrt(chisquare/N). The routine coumputes the Power and, if necessary, the sample sizes needed to achieve a power=0.80 using a modified asymptotic normal method with continuity correction as described by Hardeo Sahai and Anwer Khurshid in Statistics in Medicine, 1996, Vol. 15, Issue 1: 1-21.
You can visit my homepage http://home.tele2.it/cardillo
My profile on XING http://www.xing.com/go/invita/13675097
My profile on LinkedIN http://it.linkedin.com/in/giuseppecardillo |
| MATLAB release |
MATLAB 7.3 (R2006b)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 21 Jun 2007 |
Fix bug in confidence interval computation |
| 05 Jul 2007 |
Added power calculation |
| 28 Aug 2007 |
updating power and sample sizes calculation |
| 13 Sep 2007 |
I fixed a bug in standard error of log(RR) as suggested by Torsten Heyer |
| 12 Jun 2008 |
NORMINV and NORMCDF was replaced by ERFCINV and ERFC so Statistics Toolbox is no more needed. |
| 24 Sep 2008 |
Improvement in input error handling |
| 12 Nov 2008 |
Changes in help section |
| 23 Dec 2009 |
Changes in description |
|
Contact us at files@mathworks.com