Description Usage Arguments Value Author(s) References Examples

exact.cond gives a two-sided exact conditinal confidence interval for the difference of two dependent proportions. It is built of a Clopper Pearson Interval. Data are assumed to be of a fourfold table, which contains the numbers of concordance and the numbers of discordance of two dependent methods.

1 | ```
exact.cond(b, c, n, alpha)
``` |

`b` |
first number of discordant pairs in a fourfold table as described above |

`c` |
second number of discordant pairs in a fourfold table as described above |

`n` |
number of observed objects |

`alpha` |
type I error; between zero and one |

A list with class '"htest"' containing the following components:

`conf.int ` |
a confidence interval for the difference in proportions |

`estimate ` |
estimated difference in proportions |

Daniela Wenzel, Antonia Zapf

Clopper, C. and Pearson, E.S. (1934). The use of confidence or fiducial limits illustrated in the case of the binomial. Biometrika 26, 404-413.

Newcombe, R.G. (1998). Improved confidence intervals for the difference between binomial proportions based on paired data. Statistics in Medicine 17. 2635-2650.

1 2 | ```
# b=10, c=20, n=50, type I error is 0.05
conf.int=exact.cond(10,20,50,0.05)
``` |

diffdepprop documentation built on May 29, 2017, 2:48 p.m.

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.