The starting point of the whole chapter is the idea of a random variable: a way of translating into numbers the outcome of an experiment governed by chance.

Definition — Random variable

A random variable XX is a function that assigns a real number to each outcome of a random experiment. Intuitively: it is a “quantity” whose value depends on chance.

Example

  • I roll a die: XX = “number rolled”. Possible values: 1,2,3,4,5,61,2,3,4,5,6.
  • I measure the height of a randomly chosen person: XX = “height in cm”. Possible values: a continuous interval (e.g. [140,210][140, 210]).

The first is an example of a discrete random variable; the second of a continuous variable.

The distinction between discrete (isolated, countable values) and continuous (a whole interval of values) guides all the rest of the chapter: to the former we associate a distribution made of pointwise probabilities, to the latter a density function.

Topics: Distribuzioni probabilita
Concepts: Variabile aleatoria
Skills: Modellizzare