mynbin: Negative Binomial Probability

Description Usage Arguments Examples

View source: R/mynbinom.R

Description

This function will provide the probability of a certain number of successes of binomial trials when given y, the number of trials, r, the number of successes, and p, the probability of a success. The probability is provided as a decimal, which can be understood as a percent once multiplied by 100.

Usage

1
mynbin(y, r, p)

Arguments

y

number of trials

r

number of successes

p

hypothesized probability of successes

Examples

1
2
mynbin(10,3,0.4)
Where y = 10 trials, r = 3 successes, and 0.4 is the probability of a success

casspants/MATH4753kran1018 documentation built on Nov. 26, 2020, 1:12 p.m.