If X in P(X) is considered a random variable because it varies among the occurrence the particular scenario which it may occur (such rolling a number on a die), can we still call X a “random variable” if it’s technically predictable? (Such as if X were like “getting a face on a die when you roll a die” or “getting a 7 on a die when you roll a 6 sided die.”)
Sure, we can do so. Such random variables simply have degenerate densities or probability mass functions, such that the probability of an outcome is 1, or the outcome we are interested in may have a probability of 0.
Such degenerate cases can easily come up, e.g., when we are looking at conditional probabilities. Let's throw a standard six-sided die.
- What is the distribution of the parity of the side shown conditional on throwing a 1, 2 or 3?
- What is the distribution of the parity of the side shown conditional on throwing a 2, 4 or 6?
The second case is degenerate: the conditional probability is 0 (for an odd side showing) or 1 (for even).