Summary method for the probability calculator (discrete)

# S3 method for prob_disc
summary(object, type = "values", ...)

Arguments

object

Return value from prob_disc

type

Probabilities ("probs") or values ("values")

...

further arguments passed to or from other methods

Details

See https://radiant-rstats.github.io/docs/basics/prob_calc.html for an example in Radiant

See also

prob_disc to calculate results

plot.prob_disc to plot results

Examples

result <- prob_disc(v = 1:6, p = c(2/6, 2/6, 1/12, 1/12, 1/12, 1/12), pub = 0.95) summary(result, type = "probs")
#> Probability calculator #> Distribution : Discrete #> Values : 1 2 3 4 5 6 #> Probabilities: 0.333 0.333 0.083 0.083 0.083 0.083 #> Mean : 2.5 #> St. dev : 1.607 #> Lower bound : #> Upper bound : 0.95 (6) #> #> P(X = 6) = 0.083 #> P(X < 6) = 0.917 #> P(X <= 6) = 1