View source: R/binomial_hypothesis_test.R
DP_Binom_test_twoside | R Documentation |
This function takes in a privatized estimate of a draw from a binomial distribution and performs a two-sided hypothesis test. Created by Canyon.
DP_Binom_test_twoside(n, theta_0, epsilon, Z)
n |
number of trials. |
theta_0 |
null hypothesis. |
epsilon |
privacy parameter. |
Z |
privatized number of successes. |
outputs the p-value of the hypothesis test.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.