Description Usage Arguments Value Examples
Add discrete stochastic random variables of arbitrary dimensions with overdispersion
1 2 | ncdDetectOverdispersion(predictions, scores, overdispersion = 0, N = 10,
method = c("naive", "is", "numeric"), observations = NA, thres = NA)
|
overdispersion |
The standard deviation of a random effect in logit space. The random effect is not added to the first column. |
dat |
A data.table with columns 'x', 'y', and 'probabilities'. Column 'x' is a numeric indicator unique for each random variable to be convoluted together. Column 'y' is the outcome value, and colum 'probabilities' contains the probability corresponding to each value of the 'y' column. |
threshold |
An optional number to set a threshold. If set, the probabilities of all possible outcomes of the sum of the random variables are only caluclated below this value. |
verbose |
A logical indicator which defaults to FALSE. Set to TRUE to print information. |
the convoluted distribution.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.