Exercise 1. Polling - expected value of S
Suppose you poll a population in which a proportion \(p\) of voters are Democrats and \(1-p\) are Republicans. Your sample size is \(N = 25\). Consider the random variable \(S\), which is the total number of Democrats in your sample.
What is the expected value of this random variable \(S\)?
This exercise is part of the course
HarvardX Data Science Module 4 - Inference and Modeling
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
