Description Usage Arguments Value Examples
View source: R/numerical_functions.R
Returns the expected value and confidence intervals for a poisson-binomial distribution (large number of samples)
| 1 | poissonBinomialExpectedValue(p, n, alpha = 0.025)
 | 
| p | probabilities for each group | 
| n | weights (number of samples for each group) | 
| alpha | one-sided significance level default 0.025 | 
a vector containing expected_value, expected_positives_proportion, confidence_interval_proportion
| 1 2 3 | probabilita_cella <- c(0.53,0.52,0.78,0.64)
campione <- c(10,3,50,15)
poissonBinomialExpectedValue(probabilita_cella, campione)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.