Contents
- 3.3.1 The Expected Value of X
- 3.3.2 The Expected Value of a Function
- 3.3.3 Expected Value of a Linear Function
- 3.3.4 The Variance of X
- 3.3.5 A shortcut formula for variance
- 3.3.6 Variance of a Linear Function
- EXERCISES Section 3.3 (29-45)
Introduction
- University with 15,000 students
- Let represent the number of courses a randomly selected student is registered for
- The pmf (probability mass function) of is provided
- Example:
- Calculation:
- 150 students are registered for one course
- Calculation:
- Similarly for other values:
- gives the number of students registered for courses
- Example:
- The pmf (probability mass function) of is provided
(3.6)
1 | 2 | 3 | 4 | 5 | 6 | 7 | |
---|---|---|---|---|---|---|---|
.01 | .03 | .13 | .25 | .39 | .17 | .02 | |
Number registered | 150 | 450 | 1950 | 3750 | 5850 | 2550 | 300 |
-
The average number of courses per student (average value of ) is calculated as:
- Total number of courses taken by all students divided by the total number of students
-
Example breakdown: - 150 students taking 1 course contribute courses to the total - 450 students taking 2 courses contribute courses to the total - And so on for other groups of students
- The population average value of is given by: \frac{1(150) + 2(450) + 3(1950) + \cdots + 7(300)}{15,000} = 4.57 \tag{3.7}
-
Alternative expression:
- Since:
- And similarly for other values
- The population average value of can also be expressed as: 1 \cdot p(1) + 2 \cdot p(2) + \cdots + 7 \cdot p(7) \tag{3.8}
- This alternative expression shows that the average value of is a weighted sum of the number of courses, weighted by their probabilities.
- Since:
-
Expression (3.8) shows:
- To compute the population average value of , we only need:
- The possible values of
- Their corresponding probabilities (proportions)
- The population size is irrelevant as long as the pmf is given by (3.6)
- To compute the population average value of , we only need:
-
The average or mean value of :
- Is a weighted average of the possible values
- The weights are the probabilities of those values
- For example, , , …,
-
This simplifies the computation since the exact number of students isn’t necessary;
- we just need the distribution of the number of courses each student takes.