Recall that a discrete random variable is one that can only take on one of a number of discrete values, and nothing in between. For example, a die (singular of "dice") can come up 1, 2, 3, 4, 5 or 6, but not 1.5 or 2.3. There are six discrete choices for the number that shows up on a die, but which of the six turns up on a fair throw is a matter of random chance. That's a discrete random variable.
In this section, we'll focus on continuous random variables (crv). These are variables that can have a continuum of values. Basically that means: you pick two values of the variable, and I can always find another in between. In fact, there are can be an infinite number of values of a crv, but as we'll see, there need not be in order for the kind of thinking about continuous variables that we'll develop to apply.
A continuous random variable is one that can take on any value on a continuum of values. That is, if you can pick two values that the variable can take on, I can always find one in between.
Practically, we often used continuous variables and continuous probability distributions to model discrete data, like populations.
But let's expand our experiment to measure the sums of many throws of six dice. Now there are many more possibilities for that sum, from 6 x 1 = 6 to 6 x 6 = 36. The graph below shows a simulation (spreadsheet) of 500 throws of 6 dice. There are so many possible values of the sum in this case that the distribution of the bars in the graph kind of meld together, and get very close (with some noise) to the purple normal distribution in the back.
This trend would continue if we added more dice. Imagine tossing a thousand. The number of possibilities for the sum is immense. The more possibilities, the smaller the distance between them, relative to overall span of the possibilities. Hopefully you can see how the distribution would continue to smooth out and approach that bell-shaped curve model.
You can see by looking at the graph that the average height is 40 inches, and that there are about as many kids taller and shorter than 40 inches. If you gave me two heights, say 39 and 40 inches, I could find a number of kids around 39-1/2 inches tall, and we could find heights that varied by 1/32 of an inch or so, though of course that's kind of meaningless for heights. In a week a four year old will be 1/32 of an inch taller!
xaktly.com by Dr. Jeff Cruzan is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. © 2012, Jeff Cruzan. All text and images on this website not specifically attributed to another source were created by me and I reserve all rights as to their use. Any opinions expressed on this website are entirely mine, and do not necessarily reflect the views of any of my employers. Please feel free to send any questions or comments to firstname.lastname@example.org.