noun

probabilitya variable whose possible values are numerical outcomes of a random phenomenon."When rolling a pair of dice, the number that comes up can be represented by a discrete random variable."

statisticsa function that assigns a real number to each outcome in the sample space of a random experiment.
A variable whose possible values are numerical outcomes of a random phenomenon. Random variables are broadly classified into two types: discrete random variables, which take on a countable number of distinct values, and continuous random variables, which can take on any value in a continuous range.
Random variables are fundamental in the study of probability and statistics, as they provide a mathematical framework for analyzing and making predictions about random processes.