Difference between revisions of "Bernoulli experiment"

From Conservapedia
Jump to navigation Jump to search
m
(→‎Expectation and Variance: clean up & uniformity)
 
(3 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
The standard example is ''tossing a coin''.
 
The standard example is ''tossing a coin''.
  
−
[[category:Probability and Statistics]]
+
== Expectation and Variance ==
 +
If the occurrence of a success is encoded as '''1''' and the occurrence of a failure with '''0''', then a probability of a success of ''p'' (and therefore, of a failure as ''q=1-p'') leads to an expectation of
 +
 
 +
<math>\mathbf{E}[X] = p \cdot 1 + q \cdot 0 = p</math>
 +
 
 +
The variance is <math>Var(X) = \mathbf{E}[(X - \mathbf{E}[X])^2] = p(1-p)^2 + q(0-p)^2 = pq </math>.
 +
 
 +
The sum of ''n'' Bernoulli experiments with the same probability of success ''p'' follows a [[Binomial distribution]] ''B(n,p)''.
 +
[[Category:Probability and Statistics]]

Latest revision as of 03:08, July 13, 2016

A Bernoulli experiment (or Bernoulli trial) is the simplest non-trivial random experiment imaginable: it's an experiment of which the outcome is random and can be either of two possibilities: success and failure.

The standard example is tossing a coin.

Expectation and Variance

If the occurrence of a success is encoded as 1 and the occurrence of a failure with 0, then a probability of a success of p (and therefore, of a failure as q=1-p) leads to an expectation of

Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \mathbf{E}[X] = p \cdot 1 + q \cdot 0 = p}

The variance is Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle Var(X) = \mathbf{E}[(X - \mathbf{E}[X])^2] = p(1-p)^2 + q(0-p)^2 = pq } .

The sum of n Bernoulli experiments with the same probability of success p follows a Binomial distribution B(n,p).