Random variable
A random variable is a function definite on the whole of the possible results of a random experiment, such as it is possible to determine the probability so that it takes a given value or that it takes a value in a given interval. In the beginning, a variable was a function of profit, which represented the profit obtained at the conclusion of the result of a play. For example, let us suppose that a player launches a die and that this one gains 1€ if it brings one six and loses 10€ if it brings another result. Then it is possible to define the random variable of profit which associates 1 with the result “six” and -10 in an uninteresting result. The probability so that the random variable takes value 1 corresponds exactly to the probability so that the player gains 1€. The random variables are very much used in Theory of probability and Statistiques. In the applications, the random variables are used to model the result of a deterministic mechanism not or as the result of a deterministic Expérience not which generates a result Aléatoire.
Details
- the random variable simplest is given by the result of a throw to the play of pile or face, which is worth pile or face . Another simple example is given by the result of a jet of dice, for which the possible values are 1 , 2 , 3 , 4 , 5 , 6 (if the die is classically cubic). Such random variables are described as discrete because they take quite separate values. A contrario , the measurement of the size of an individual taken randomly in a Population resembles a positive Real number more (that is not completely true either, bus of the ergonomic questions make all the more improbable the statement of a number which it comprises of significant decimals; the attractile one is in fact a fractal). This random variable is then qualified by convention of continues . The study of the distribution of the values taken by a random variable led to the concept of Law of probability.
-
In mathematics, and more precisely in Theory of probability, a random variable is a measurable Fonction definite on a space of probabilities. Corresponding image measurement is called law random variable. This type of function makes it possible to model a phenomenon Aléatoire, as for example the result of a jet of Des. an interesting property of the integral of Lebesgue makes that an event of strictly null probability is not necessarily impossible in a strict sense term (thus, consider a drawn reality randomly in interval 1; the probability that it is rational is null, whereas the rational ones constitute in this interval an infinite unit, and even everywhere dense).
Some random variables
As an introduction to the definitions concerning the random variables, it seems interesting to briefly introduce a family of variables very much used.
In addition to the variable a certain which takes value given with a probability equalizes to 1, the random variable simplest is called variable of Bernoulli. This one can take two states, which it is always possible to code 1 and 0, with the probabilities p and 1 - p . A simple interpretation relates to a play of die in which one would gain one euro by drawing the six ( p = 1/6). On a sequence of parts, the average of the profits tends towards p when the number of parts tends towards the infinite one.
If it is considered that a part is consisted N pullings instead of only one, the total of the profits is a realization of a binomial variable which can take all the whole values of 0 with N . This variable has as an average produces it Np . One obtains a less futile example by considering the score of a candidate in a electoral survey.
If N is rather large and p not too small, one can find an approximation suitable by using the variable Gauss. In the surveys that makes it possible to associate a confidence interval with the gross profit. Thus, there are 95 chances out of 100 so that an investigation carrying into: 1000 people gives a correct result except for ± 3%.
Always with large N , the approximation of Poisson is preferable if p is rather small so that the average Np is not too large, about a few units. In a survey it would be the law applicable to the “small” candidates. It is especially the law used in queueing problems.
The sum of the variable squares of ν of Gauss independent is a variable of χ2 to ν degrees of freedom (the exponential variable is a particular case). The test of the χ2 is used to appreciate the value of the adequacy of a law of probability on an empirical distribution.
If one divides a variable of Gauss by a variable of χ (square root of the preceding one), one obtains a variable of Student. The ratio of two independent variables of χ2 defines a Variable of Snedecor. These two laws are used in the analysis of presumedly Gaussian populations.
Basic concepts
Function of distribution
It would be possible to introduce this notion from any of the variables previously considered but it appears clearer to study the case of the die under a different angle. Indeed, it defines a random variable X which takes with the same probability of appearance (1/6) of the values as a whole {1,2,3,4,5,6}. One can then associate with any actual value X the probability of obtaining a pulling lower or equal to X, which defines a curve in staircase whose steps have a height equalizes to 1/6.
Formally, that led to a Function of distribution
In this one, capital letter X represents the random variable, together of numerical values, and tiny X represents the variable of state, variable in the usual sense of the term.
If the events are not equiprobable any more, that does nothing but deform the curve. To introduce a new concept, one can start by replacing it from a caster with six numbers (what leads to a rigorously identical problem). Then, nothing fundamental is changed if one replaces the six integers by the reference marks of the centers of arcs of 60 degrees. From there it is possible to increase the number of sectors by reducing their size: the levels will become increasingly small until being indistinguishable on a drawing. The passage in extreme cases replaces the discrete variable by a continuous variable which takes all the actual values in the interval] 0,360]: it is a uniform variable.
A Fonction of distribution is increasing (in the broad sense) on the interval] - ∞, +∞ and continues on the right in any point; it tends towards 0 in - ∞ and 1 in +∞. Reciprocally, any function checking the properties (characteristic) preceding can be regarded as the function of distribution of a random variable.
The interest of the Fonction of distribution lies in the fact that it is valid as well for the continuous variables definite on a continuous whole as for the discrete variables definite on a countable unit (in the majority of the practical cases it is reduced to a whole of equidistant values which one can bring back to a whole of entireties). The progressive replacement of curves in staircases by continuous curves makes it possible to see intuitively how a continuous variable can provide an approximation often easier to handle than the original discrete variable.
Unfortunately these benefits of the Function of distribution, interesting for the visualization of the phenomena, are lost as soon as one wants to look further into the problems. In this case, it is generally more convenient to use the concepts described in the following paragraphs.
Function of probability of a discrete variable
The law of a discrete variable is quite simply given by the whole of the probabilities of its values (Function of Mass). If it is supposed that it takes whole values (of unspecified sign), that is written:
One rebuilds the function of distribution (of which the values are then called cumulated probabilities ) by the relation:
if , then .
Density of probability of a continuous variable
A continuous variable in general has a function of distribution continuous in any point and derivable per pieces. It is then convenient to derive it to obtain the density of probability, checking:
who is defined and with values positive (or null) on