Problem Statement
For the population data {1, 2, 3, 4}, what is the variance?
Explanation
μ=2.5. Variance = average squared deviation: [(1−2.5)^2 + (2−2.5)^2 + (3−2.5)^2 + (4−2.5)^2]/4 = 5/4 = 1.25.
Code Solution
SolutionRead Only
σ² = (2.25+0.25+0.25+2.25)/4 = 1.25
