# How do I choose which confident interval for proportion difference to use in SAS?

In SAS, there are different CIs for proportion difference ($$\pi_1-\pi_2$$) to choose?

1.Continuity-corrected Wald CIs based on normal approximation

2.exact method

3.Miettinen-Nurminen CIs based on score test

4.Newcombe hybrid score CIs based on Wilson score CIs for binominal proportion

• I imagine that each style of CI has somewhat different properties and that each has people who think it is best. Maybe you can google each style and see which seems best for your application. // You might start by looking to see which style(s) may be useful in your currect application. In R, if $\hat\pi_1 = 10/100 = 0.100, \hat\pi_2 = 20/150 = 0.133,$ then code prop.test(c(10, 20), c(100, 150))$conf.int returns 95% CI$(-0.1218,\, 0.0551).$The null hypothesis$H_0: \pi_1 = \pi_2$is not rejected against the two-sided alternative, so it is reasonable that the CI includes$0.\$ Sep 14 at 21:55
• Questions that are only about software (e.g. error messages, code or packages, etc.) are generally off topic here. If you have a substantive machine learning or statistical question, please edit to clarify. Sep 15 at 1:46