Random variable: Difference between revisions

Content deleted Content added
Ejowan (talk | contribs)
m Definition: add a dot
Gase456 (talk | contribs)
mNo edit summary
Line 58:
===Discrete random variable===
 
InConsider an experiment where a person may beis chosen at random,. An andexample oneof a random variable may be the person's height. Mathematically, the random variable is interpreted as a function which maps the person to thehis person'sor her height. Associated with the random variable is a probability distribution that allows the computation of the probability that the height is in any subset of possible values, such as the probability that the height is between 180 and 190 cm, or the probability that the height is either less than 150 or more than 200 cm.
 
Another random variable may be the person's number of children; this is a discrete random variable with non-negative integer values. It allows the computation of probabilities for individual integer values – the probability mass function (PMF) – or for sets of values, including infinite sets. For example, the event of interest may be "an even number of children". For both finite and infinite event sets, their probabilities can be found by adding up the PMFs of the elements; that is, the probability of an even number of children is the infinite sum <math>\operatorname{PMF}(0) + \operatorname{PMF}(2) + \operatorname{PMF}(4) + \cdots</math>.