Introduction to Statistics: Difference between revisions
| Line 95: | Line 95: | ||
== Random Variables == | == Random Variables == | ||
It's usually possible to represent the outcome of experiments in terms of | It's usually possible to represent the outcome of experiments in terms of integers or real numbers. For instance, in the case of flipping a coin, it becomes a little cumbersome to record the outcomes of multiple experiments. Let's say we poll ten people for their voting preferences (Republican - R, or Democrat - D) in two different electorial districts. Our results might look like this:<br> | ||
<math>\{ | <math>\{RRRDRRDRRR\}</math> and <math>\{DDDDDRDDDD\}</math><br> | ||
But | But we're probably only interested in the overall breakdown in voting preference for each district. If we assign an integer value to each outcome, say 0 for Democrat and 1 for Republican, we can obtain a concise summary of the voting preference district by district by adding the results together. | ||