1. Exact confidence intervals for the difference of two proportions p1-p2:

An R package for Window, ExactCIdiff, is provided to compute i) lower one-sided confidence interval, ii) upper one-sided confidence interval, iii) two-sided confidence interval, when the data are collected from a matched pair experiment or two independent binomial experiments. The intervals are exactly of level 1-α. See examples.pdf for details. This package for Mac is available at:

http://cran.r-project.org/web/packages/ExactCIdiff/index.html