| Part of a series onstatistics |
| Probability theory |
|---|
Inprobability theory, anexperiment ortrial (see below) is themathematical model of anyprocedure that can beinfinitely repeated and has awell-definedset of possibleoutcomes, known as thesample space.[1] An experiment is said to berandom if it has more than one possible outcome, anddeterministic if it has only one. A random experiment that has exactly two (mutually exclusive) possible outcomes is known as aBernoulli trial.[2]
When an experiment is conducted, one (and only one) outcome results— although this outcome may be included in any number ofevents, all of which would be said to have occurred on that trial. After conducting many trials of the same experiment and pooling the results, an experimenter can begin to assess theempirical probabilities of the various outcomes and events that can occur in the experiment and apply the methods ofstatistical analysis.
Random experiments are often conducted repeatedly, so that the collective results may be subjected tostatistical analysis. A fixed number of repetitions of the same experiment can be thought of as acomposed experiment, in which case the individual repetitions are calledtrials. For example, if one were to toss the same coin one hundred times and record each result, each toss would be considered a trial within the experiment composed of all hundred tosses.[3]
A random experiment is described or modeled by a mathematical construct known as aprobability space. A probability space is constructed and defined with a specific kind of experiment or trial in mind.
A mathematical description of an experiment consists of three parts:
Anoutcome is the result of a single execution of the model. Since individual outcomes might be of little practical use, more complicatedevents are used to characterize groups of outcomes. The collection of all such events is asigma-algebra. Finally, there is a need to specify each event's likelihood of happening; this is done using theprobability measure function,P.
Once an experiment is designed and established,ω from the sample space Ω, all the events in that contain the selected outcomeω (recall that each event is a subset of Ω) are said to “have occurred”. The probability functionP is defined in such a way that, if the experiment were to be repeated an infinite number of times, the relative frequencies of occurrence of each of the events wouldapproach agreement with the valuesP assigns them.
As a simple experiment, we may flip a coin twice. The sample space (where the order of the two flips is relevant) is{(H, T), (T, H), (T, T), (H, H)} where "H" means "heads" and "T" means "tails". Note that each of(H, T), (T, H), ... are possibleoutcomes of the experiment. We may define anevent which occurs when a "heads" occurs in either of the two flips. This event contains all of the outcomes except(T, T).