Bernoulli trial
A Bernoulli trial is a random variable with two possible outcomes, "success" and "failure", with success having a probability of "θ". The outcome can be thought of as determined by a coin toss, with the probability of heads being "θ" and the probability of tails being .