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 April 10, 2024, 10:10 p.m.