1. Primers
  2. Bernoulli trial
  • (Just enough) Julia for scientific informatics, modeling, and reasoning
  • Introduction
  • Basic frameworks and mechanisms
    • Orientation
    • Basics of setting up and running Julia
    • Basics of visualizing mathematical models
    • Basics of working with randomness and probabilities
    • Basics of working with data tables
  • Basics of specialized workflows
    • Basics of paleobiological fossil collection analyses
    • Basics of agent-based modeling: spatial epidemic dynamics with Agents.jl
      • Basics of agent-based modeling: spatial epidemic dynamics with Agents.jl
    • Basics of species distribution modeling
  • Primers
    • Bernoulli trial
    • Pathogen fitness as a function of virulence (Frank, 1996)
    • Virulence-transmission trade-off (Frank, 1996)
    • Julia – Environments – Global vs project
    • Julia: Functions, methods, and signatures
    • Markov property
    • Probabilty distributions–Essential concepts
    • Pseudo-random number generators
    • Pseudo-random number generators: best practices
    • Pseudo-random number generators: continuous values from discrete machines
  1. Primers
  2. Bernoulli trial

Bernoulli trial

Author

Jeet Sukumaran

A “Bernoulli trial” is a model of randomness in which there are two possible elementary outcomes in the sample space, with the probability of one outcome given by the model parameter \(p\) (and the probability of the other is then \(1-p\)).

The iconic example is that of a single toss of a coin. If the coin is fair, that is, equally likely to land with either of its two sides, typically designated “heads” or “tails”, then it can be modeled as a Bernoulli trial with parameter \(p = 0.5\) giving the probability of “heads”. Conversely, a trick coin may have the a “heads” on both sides, thus always landing with a “heads” result, an or a “tails”

Back to top
Primers
Pathogen fitness as a function of virulence (Frank, 1996)
  • © Jeet Sukumaran

Please share or adapt under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0).