powered by
Probability calculator for a discrete distribution
prob_disc(v, p, lb = NA, ub = NA, plb = NA, pub = NA, dec = 3)
Values
Probabilities
Lower bound on the number of successes
Upper bound on the number of successes
Lower probability bound
Upper probability bound
Number of decimals to show
See https://radiant-rstats.github.io/docs/basics/prob_calc.html for an example in Radiant
summary.prob_disc to summarize results
summary.prob_disc
plot.prob_disc to plot results
plot.prob_disc
prob_disc(v = 1:6, p = 1 / 6, pub = 0.95) prob_disc(v = 1:6, p = c(2 / 6, 2 / 6, 1 / 12, 1 / 12, 1 / 12, 1 / 12), pub = 0.95)
Run the code above in your browser using DataLab