Description Usage Arguments Details Value Author(s) See Also Examples

Given the frequencies of true positives, false negative, false positives and true negatives from primary diagnostic studies `madad`

calculates various summary statistics. Apart from sensitivities, specificities and false positive rates the function also calculates the diagnostic odds ratio (DOR) and the positve and negative likelihood ratios, together with their respective confidence intervals. Also two hypothesis tests are calculated: one testing the equality of the sensitivities and the same for the false positive rates.

1 2 3 4 5 6 |

`x` |
any object that can be converted to a data frame with integer variables |

`TP` |
vector of integers, ingored if |

`FN` |
vector of integers, ingored if |

`FP` |
vector of integers, ingored if |

`TN` |
vector of integers, ingored if |

`correction` |
numeric, continuity correction applied to zero cells. |

`correction.control` |
character, if set to |

`level` |
numeric, confidence level for the calculations of confidence intervals. |

`method` |
character, method used to calculate the confidence intervals for sensitivities, specificities and false positive rates. One of |

`yates` |
logical, should a Yates correction be used for testing the equality of sensitivities and specificities? |

`digits` |
integer, to what decimal place is the output to be rounded? |

`suppress` |
logical, suppress the warning that is generated by |

`...` |
further arguments to be passed on the other funtions (currently none). |

All calculations are performed using the continuity corrected cell counts, so if there are zero cells, the sensitivities and specificities not equal to 1. This can be avoided by setting `correction.control`

to `"none"`

.

The test for the equality of sensitivities and its counterpart for the specificities is based on `prop.test`

. This function will occasionally output warnings.

An object of class `madad`

which is essentially a list with the following components:

`sens` |
A list of two components, |

`spec` |
A list of two components, |

`fpr` |
A list of two components, |

`sens.htest` |
An object of class |

`spec.htest` |
An object of class |

`DOR` |
A list of two components, |

`posLR` |
A list of two components, |

`negLR` |
A list of two components, |

`cor_sens_fpr` |
numeric, the correlation of the sensitivities and false-positive rates. |

`level` |
numeric |

`method` |
character |

`names` |
character vector, if the main argument of |

`nobs` |
integer, number of primary studies. |

`data` |
data frame, with columns |

`data.name` |
character, name of the main argument. |

`correction` |
numeric |

`correction.control` |
character |

Philipp Doebler <[email protected]>

1 2 3 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.