====== Differences ====== This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
gibson:teaching:spring-2016:math445:lab8 [2016/03/23 18:50] gibson [Problem 1: Predicting the 2012 New Hampshire Presidential election] |
gibson:teaching:spring-2016:math445:lab8 [2016/03/24 07:02] (current) gibson [Math 445 Lab 8: Predicting Presidential elections with Monte Carlo methods] |
||
---|---|---|---|
Line 6: | Line 6: | ||
* ''if-else'' statements | * ''if-else'' statements | ||
* ''for'' loops | * ''for'' loops | ||
- | * ''hist'' histogram plots | + | * ''histogram'' plots |
====Background==== | ====Background==== | ||
Line 20: | Line 20: | ||
* [[http://cosmiclog.nbcnews.com/_news/2012/10/30/14809227-political-forecasts-stir-up-a-storm?lite|NBC News story on Nate Silver, just prior to 2012 election]], | * [[http://cosmiclog.nbcnews.com/_news/2012/10/30/14809227-political-forecasts-stir-up-a-storm?lite|NBC News story on Nate Silver, just prior to 2012 election]], | ||
* [[http://www.dailykos.com/story/2012/11/01/1153661/-Nate-Silver-s-Math-Based-Math|DailyKos article on Nate Silver, just prior to 2012 election]] | * [[http://www.dailykos.com/story/2012/11/01/1153661/-Nate-Silver-s-Math-Based-Math|DailyKos article on Nate Silver, just prior to 2012 election]] | ||
- | * [[http://2012.talkingpointsmemo.com/2012/11/nate-silver-colbert-report-pundits.php?ref=fpnewsfeed|Nate Silver on the Colbert Report]] | ||
* [[https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=nate%20silver%20controversy | google:"Nate Silver controversy" ]] | * [[https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=nate%20silver%20controversy | google:"Nate Silver controversy" ]] | ||
* [[https://en.wikipedia.org/wiki/Electoral_College_(United_States) | Electoral College, Wikipedia]] | * [[https://en.wikipedia.org/wiki/Electoral_College_(United_States) | Electoral College, Wikipedia]] |