binomial.trial: binomial.trial

binomial.trialR Documentation

binomial.trial

Description

returns the likelihood of getting <n> or more/fewer heads depending on whether <w> is T/F

Usage

binomial.trial(x, y, n, w)

Arguments

x

= probability of success in a 1/0 Bernoulli trial

y

= number of coin flips

n

= number of heads

w

= a boolean (upper/lower tail)


vsrimurthy/EPFR documentation built on July 16, 2024, 9:58 p.m.