iscam_binomprob: iscam_binomprob Function

Description Usage Arguments Examples

Description

This function calculates tail probabilities from the binomial distribution.

Usage

1
iscam_binomprob(k, n, prob, lower.tail)

Arguments

k

number of successes of interest (must be an integer)

n

number of trials (zero or more)

prob

probability of success on each trial

lower.tail

logical; a Boolean for finding the probability above (FALSE) or below (TRUE) the inputted value (inclusive)

Examples

1
2
iscam_binomprob(20, 30, 0.5, lower.tail = TRUE)
iscam_binomprob(6, 20, 0.4, lower.tail = FALSE)

apjacobson/iscam documentation built on May 6, 2019, 12:08 p.m.