Random Variable
Random Variable
Random variable is a fundamental concept in statistics that bridges the gap between
theoretical probability and real-world data. random variable in statistics is a function
that assigns a real value to an outcome in the sample space of a random experiment.
For example: if you roll a die, you can assign a number to each possible outcome.
There are two basic types of random variables,
Discrete Random Variables (which take on specific values)
Continuous Random Variables (assume any value within a given range)
In this article, we will learn about random variable statistics, their types, random
variable examples, and others in detail.
What is a Random Variable?
Random Variable Probability is a mathematical concept that assigns numerical
values to outcomes of a sample space. They can describe the outcomes of objective
randomness (like tossing a coin) or subjective randomness(results of a cricket
game).
There are two types of Random Variables- Discrete and Continuous.
A random variable is considered a discrete random variable when it takes specific, or
distinct values within an interval. Conversely, if it takes a continuous range of values,
then it is classified as a continuous random variable.
Random Variable Definition
Random variable in statistics is a variable whose possible values are numerical
outcomes of a random phenomenon. It is a function that assigns a real number to
each outcome in the sample space of a random experiment.
We define a random variable as a function that maps from the sample space of an
experiment to the real numbers. Mathematically, Random Variable is expressed as,
X: S →R
where,
X is Random Variable (It is usually denoted using capital letter)
S is Sample Space
R is Set of Real Numbers
Variate
A variate is a generalization of the concept of a random variable that is defined
without reference to a particular type of probabilistic experiment.
It has the same properties as random variables and is denoted by capital letters
(commonly X).
The possible values a random variable X can take are its range, denoted R_X.
Individual values within this range are called quantiles, and the probability of X
taking a specific value x is written as P(X=x).
Types of Random Variable
Random variables are of two types that are,
Discrete Random Variable
Continuous Random Variable
Discrete Random Variable
A Discrete Random Variable takes on a finite number of values. The probability
function associated with it is said to be PMF.
PMF(Probability Mass Function)
If X is a discrete random variable and the PMF of X is P(xi), then
0 ≤ pi ≤ 1
∑pi = 1 where the sum is taken over all possible values of x
Discrete Random Variables Example
Example: Let S = {0, 1, 2}
xi 0 1 2
Conclusion
In probability and statistics, a random variable acts like a translator. It takes the
unpredictable outcomes of an experiment (like flipping a coin) and assigns numbers
to them (heads = 1, tails = 0). Random Variables serve as the bridge between abstract
mathematical concepts and real-world phenomena, allowing us to model, analyze, and
make predictions about random processes. These numbers come in two flavors:
discrete (specific values like number of successful trials) or continuous (ranges of
values like waiting time). By having these numerical labels, we can analyze the
uncertainty of the experiment using powerful tools from probability and statistics.