bin_probability: Bin Probability

Description Usage Arguments Value Examples

Description

determines probability of getting a certain amount of successes or less in a certain amount of trials

Usage

1
bin_probability(success, trials, prob)

Arguments

success

(number of successes)

trials

(number of trials)

prob

(probability of success, between 0 and 1)

Value

binomical probability

Examples

1
2
#Probability of 3 successes in 5 trials, with probability of success 0.5
bin_probability(success=2,trials=5,prob=0.5)

annabardin/Workout03 documentation built on May 4, 2019, 12:54 a.m.