Watch
Watching this resources will notify you when proposed changes or new versions are created so you can keep track of improvements that have been made.
Favorite
Favoriting this resource allows you to save it in the “My Resources” tab of your account. There, you can easily access this resource later when you’re ready to customize it or assign it to your students.
Two Types of Random Variables
A random variable X, and its distribution, can be discrete or continuous.
Learning Objective

Contrast discrete and continuous variables
Key Points

A random variable is a variable taking on numerical values determined by the outcome of a random phenomenon.

The probability distribution of a random variable X tells us what the possible values of X are and what probabilities are assigned to those values.

A discrete random variable has a countable number of possible values.

The probability of each value of a discrete random variable is between 0 and 1, and the sum of all the probabilities is equal to 1.

A continuous random variable takes on all the values in some interval of numbers.

A density curve describes the probability distribution of a continuous random variable, and the probability of a range of events is found by taking the area under the curve.
Terms

discrete random variable
obtained by counting values for which there are no inbetween values, such as the integers 0, 1, 2, ….

continuous random variable
obtained from data that can take infinitely many values

random variable
a quantity whose value is random and to which a probability distribution is assigned, such as the possible outcome of a roll of a die
Full Text
Random Variables
In probability and statistics, a randomvariable is a variable whose value is subject to variations due to chance (i.e. randomness, in a mathematical sense). As opposed to other mathematical variables, a random variable conceptually does not have a single, fixed value (even if unknown); rather, it can take on a set of possible different values, each with an associated probability.
A random variable's possible values might represent the possible outcomes of a yettobeperformed experiment, or the possible outcomes of a past experiment whose alreadyexisting value is uncertain (for example, as a result of incomplete information or imprecise measurements). They may also conceptually represent either the results of an "objectively" random process (such as rolling a die), or the "subjective" randomness that results from incomplete knowledge of a quantity.
Random variables can be classified as either discrete (that is, taking any of a specified list of exact values) or as continuous (taking any numerical value in an interval or collection of intervals). The mathematical function describing the possible values of a random variable and their associated probabilities is known as a probability distribution.
Discrete Random Variables
Discrete random variables can take on either a finite or at most a countably infinite set of discrete values (for example, the integers). Their probability distribution is given by a probability mass function which directly maps each value of the random variable to a probability . For example, the value of x_{1} takes on the probability p_{1}, the value of x_{2} takes on the probability p_{2}, and so on. The probabilities p_{i} must satisfy two requirements: every probability p_{i} is a number between 0 and 1, and the sum of all the probabilities is 1 (p_{1} + p_{2} +...+ p_{k} = 1).
Examples of discrete random variables include the values obtained from rolling a die and the grades received on a test out of 100.
Continuous Random Variables
Continuous random variables, on the other hand, take on values that vary continuously within one or more real intervals, and have a cumulative distribution function (CDF) that is absolutely continuous. As a result, the random variable has an uncountable infinite number of possible values, all of which have probability 0, though ranges of such values can have nonzero probability. The resulting probability distribution of the random variable can be described by a probability density, where the probability is found by taking the area under the curve .
Selecting random numbers between 0 and 1 are examples of continuous random variables because there are an infinite number of possibilities.
Assign just this concept or entire chapters to your class for free.
Key Term Reference
 cumulative distribution function
 Appears in this related concepts: Continuous Probability Distributions, The Uniform Distribution, and Significance Levels
 density
 Appears in this related concepts: Density Calculations, Volume and Density, and Quorum Sensing
 distribution
 Appears in this related concepts: Application of Knowledge, Interpreting Distributions Constructed by Others, and Selling to Consumers
 experiment
 Appears in this related concepts: Experimental Design, Experiments, and Descriptive and Correlational Statistics
 finite
 Appears in this related concepts: The Sample Average, Introduction to Sequences, and Summing Terms in an Arithmetic Sequence
 probability
 Appears in this related concepts: Particle in a Box, The Addition Rule, and Theoretical Probability
 probability distribution
 Appears in this related concepts: Shapes of Sampling Distributions, Probability Distributions for Discrete Random Variables, and Recognizing and Using a Histogram
 probability mass function
 Appears in this related concepts: The Binomial Formula and The Hypergeometric Random Variable
 random number
 Appears in this related concepts: Random Samples, Confounding, and Are Real Dice Fair?
 range
 Appears in this related concepts: Range, The Derivative as a Function, and Visualizing Domain and Range
 statistics
 Appears in this related concepts: Applications of Statistics, What Is Statistics?, and Population Demography
 variable
 Appears in this related concepts: Related Rates, Calculating the NPV, and Controlling for a Variable
Sources
Boundless vets and curates highquality, openly licensed content from around the Internet. This particular resource used the following sources:
Cite This Source
Source: Boundless. “Two Types of Random Variables.” Boundless Statistics. Boundless, 02 Jul. 2014. Retrieved 26 Apr. 2015 from https://www.boundless.com/statistics/textbooks/boundlessstatisticstextbook/probabilityandvariability9/discreterandomvariables36/twotypesofrandomvariables1782626/