Description Usage Arguments Value Examples
DP Population Proportion Test
1  | dpPropTest(Z, size, theta, b, q, alternative, alpha)
 | 
Z | 
 A Binomial sample with Tulap noise  | 
size | 
 The number of trials in Binomial distribution (parameter n in Binomial(n, θ))  | 
theta | 
 The success probability for each trial (parameter θ in Binomial(n, θ))  | 
b | 
 Discrete Laplace noise parameters, obtained by exp(-ε)  | 
q | 
 The truncated quantiles  | 
alternative | 
 The type of alternative hypothesis, must be
  | 
alpha | 
 The confidence level of the confidence interval  | 
A table summary of the sample estimate, the p-value of the test, and the confidence interval of θ
1  | dpPropTest(9, 30, 0.5, exp(-1), 0.05, "less", 0.05)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.