computeConfidenceBoundsForDifferenceTwoProportions | R Documentation |
Estimate Lower and Upper Bounds on the Confidence Sequence (Interval) for the Difference Divergence Measure for Two Proportions
computeConfidenceBoundsForDifferenceTwoProportions( ya, yb, precision, safeDesign )
ya |
positive observations/ events per data block in group a: a numeric with integer values
between (and including) 0 and |
yb |
positive observations/ events per data block in group b: a numeric with integer values
between (and including) 0 and |
precision |
precision of the grid of differences to search over for the lower and upper bounds. |
safeDesign |
a 'safeDesign' object obtained through
|
list with found lower and upper bound.
balancedSafeDesign <- designSafeTwoProportions(na = 1, nb = 1, nBlocksPlan = 10, alpha = 0.05) ya <- c(1,1,1,1,1,1,1,1,0,1) yb <- c(0,0,0,0,1,0,0,0,0,0) computeConfidenceBoundsForDifferenceTwoProportions(ya = ya, yb = yb, precision = 20, safeDesign = balancedSafeDesign)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.