How to tell the difference between discrete or continuous random variables given the weight of bags of apples, with 20 apples in a bag?
The primary difference between a discrete and a continuous random variable is that a continuous random variable can take on any value within a given range, while a discrete random variable is more limited. In the question provided, assuming that any given bag of apples will weigh between 5 and 25 pounds, a bag could weigh 5 pounds; it could also weigh 5.01 pounds, or 5.001 pounds, or 5.0001 pounds, etc. Within this finite range, the variable can take on an infinite number of values.
By contrast, an example of a discrete random variable might be the number of heads after
(Note that, even if we were counting the number of heads as