- #1
Usagi
- 45
- 0
EDIT: Oh and I forgot that $p_Y(y) = 0$ otherwise.
Last edited by a moderator:
A discrete random variable is a type of random variable that can only take on a finite or countably infinite set of values. These values are usually represented by whole numbers and are often the result of counting or measuring. Examples of discrete random variables include the number of heads in a series of coin flips or the number of children in a family.
The main difference between a discrete and a continuous random variable is the set of possible values that each can take on. As mentioned, a discrete random variable can only take on a finite or countably infinite set of values, while a continuous random variable can take on any value within a given range. Additionally, the probability distribution for a discrete random variable is represented by a probability mass function, while the probability distribution for a continuous random variable is represented by a probability density function.
The main functions of a discrete random variable are to describe and model the probability distribution of a discrete random variable. This includes determining the set of possible values, their corresponding probabilities, and any other characteristics of the distribution, such as its mean and variance. These functions are important in understanding and analyzing data that can be represented by a discrete random variable.
The probability distribution of a discrete random variable is typically represented by a probability mass function (PMF). This function specifies the probability that the random variable takes on a particular value. The PMF can be graphed as a histogram, with the possible values on the x-axis and their corresponding probabilities on the y-axis. Alternatively, it can be represented in a table with the values and probabilities listed.
The expected value of a discrete random variable is calculated by multiplying each possible value by its corresponding probability, and then summing these values. This can also be represented mathematically as E(X) = ∑xP(x), where x represents the possible values and P(x) represents their corresponding probabilities. The variance of a discrete random variable is calculated by subtracting the expected value from each possible value, squaring the differences, multiplying by the corresponding probabilities, and then summing these values. This can be represented mathematically as Var(X) = ∑(x-E(X))^2P(x).