Usage
ci.prat(y1, n1, y2, n2, conf = 0.95, method = "katz.log",
bonf = FALSE, tol = .Machine$double.eps^0.25)
Arguments
y1
The ratio numerator number of successes. A scalar or vector.
n1
The ratio numerator number of trials. A scalar or vector of length(y1)
y2
The ratio denominator number of successes. A scalar or vector of length(y1)
n2
The ratio denominator number of trials. A scalar or vector of length(y1)
conf
The level of confidence, i.e. 1 - P(type I error).
method
Confidence interval method. One of "adj.log","bailey","katz.log","koopman","sinh-1" or "noether". Partial distinct names can be used.
bonf
Logical, indicating whether or not Bonferroni corrections should be applied for simultaneous inference if y1, y2, n1
and n2
are vectors.
tol
The desired accuracy (convergence tolerance) for the iterative root finding procedure when finding Koopman and Agresti-Min intevals. The default is taken to be the smallest positive floating-point number
of the workstation implementing the function, r