Glossary

`np.random.normal(0, poll_avg_sd, n_simulations)`

This generates `n_simulations = 100,000` draws from a Normal distribution centered at 0 with standard deviation `poll_avg_sd = 1.5`. Each draw represents the polling error in one simulated election. The mean of 0 reflects our assumption that the polling average is unbiased on average; the standard d

Learn More

Related Terms