View source: R/proportion_difference.R
proportion_difference_fraction | R Documentation |
This is a wrapper around proportion_difference()
that permits use of a
numerator and denominator rather than true calls and false calls.
proportion_difference_fraction(
numerator_1,
denominator_1,
numerator_2,
denominator_2,
interval = 0.95,
digits = 0.1
)
numerator_1 |
The numerator of the first proportion of interest. Typically the number of true calls for a proportion such as PPA or NPA. |
denominator_1 |
The total number of calls for the first proportion of interest. |
numerator_2 |
The numerator of the second proportion of interest. Typically the number of true calls for a proportion such as PPA or NPA. |
denominator_2 |
The total number of calls for the second proportion of interest. |
interval |
The confidence interval to calculate. Defaults to
|
digits |
The number of digits to round to. Defaults to |
A list containing the estimated difference, the confidence interval,
a boolean attribute indicating whether or not a difference was detected at
the specified confidence (difference_detected
), and various strings
and formatted percents that can be used to convey the information.
proportion_difference_fraction(
numerator_1 = 99,
denominator_1 = 100,
numerator_2 = 79,
denominator_2 = 80,
interval = 0.95
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.