One-Dimensional Random Variables
From MM*Stat International
English |
Português |
Français |
Español |
Italiano |
Nederlands |
A random variable is one-dimensional if the experiment only considers outcome.
Discrete random variable
Definition: A random variable is called discrete if the set of all possible outcomes is finite or countable.
Density function
Definition: The density function gives the probability that the random variable is to . The probability of is . The density function can be plotted using a histogram.
Distribution function
Definition: The distribution function of a random variable evaluated at a realization is defined as the probability that the value of the random variable is not greater than . The distribution function of a discrete random variable is a step function that only increases only at increments of . The distribution functions increases in increments of . The distribution function is also constant between the points and . The distribution function allows us to compute the probabilities of other events involving :. The household sizes in Berlin in April 1998 are provided on page 64 in “Statistisches Jahrbuch” published by “Statistisches Landesamt Berlin”, Kulturbuch-Verlag Berlin.
Household size | Number of households (1000) |
---|---|
1 | 820.7 |
2 | 564.7 |
3 | 222.9 |
4 and more | 195.8 |
Sum | 1804.1 |
Let denote the size of a randomly chosen household from Berlin in April 1998. We can observe the following outcomes:
household with one person | |
household with two persons | |
household with three persons | |
household with four or more persons |
we choose the household, we can not say anything about its size. The value of the random variable can take any from the four possible outcomes. We let denote the random variable in this experiment. is discrete, because the set of all possible outcomes is finite—the outcome must take a value from set of 1, 2, 3, or 4. The probabilities are given by the frequency distribution of the households in Berlin. This density function provides an overview of all possible outcomes together with their probabilities.
Household size | |
---|---|
1 | 0.4549 |
2 | 0.3130 |
3 | 0.1236 |
4 | 0.1085 |
Sum | 1.0000 |
The probability that a household (from Berlin in April 1998) contains two persons () is equal to . The distribution function is:
Household size | |
---|---|
1 | 0.4549 |
2 | 0.7679 |
3 | 0.8915 |
4 | 1.0000 |
Similarly, the distribution function provides the probability that a household has at most two members () is equal to . The distribution function also allows us to compute the probabilities of other outcomes, e.g.
- probability that a household has more than two members () is or .
- probability that a household has more than one member but less than four members is equal to or .
We count the number of tails (t) in three tosses of the coin. We define random variable : with the following four outcomes .
Event | Probability | Number of tails (t) | Probability function |
---|---|---|---|
The calculation of the probabilities is based on the Multiplication Theorem for independent random events.
Distribution function of discrete random variable:
The distribution function is obtained by summing the probabilities of the different values of the random variable . For instance Distribution function:
Distribution function of discrete random variable: