Skip to content

Commit c79b8f8

Browse files
committed
Udate clopper pearson documentation
1 parent fe65e96 commit c79b8f8

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

R/prop_ci.R

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,8 @@ ci_prop_wilson <- function(x, conf.level = 0.95, correct = FALSE, data = NULL) {
164164
#'
165165
#' @details
166166
#' \deqn{
167-
#' \left( \frac{k}{n} \pm z_{\alpha/2} \sqrt{\frac{\frac{k}{n}(1-\frac{k}{n})}{n} +
168-
#' \frac{z^2_{\alpha/2}}{4n^2}} \right)
169-
#' / \left( 1 + \frac{z^2_{\alpha/2}}{n} \right)}
167+
#' \left(1 + \frac{N-n+1}{nF[\frac{\alpha}{2};2n,2(N-n+1)]} \right)^{-1}
168+
#' / \left( 1 + \frac{N-n}{(n+1)F[1-\frac{\alpha}{2};2(n+1),2(N-n)]} \right)^{-1}}
170169
#'
171170
#' @return An object containing the following components:
172171
#'

man/ci_prop_clopper_pearson.Rd

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)