James Howard's Research Log

  • Random
  • Archive
  • RSS
  • Ask me anything

Simply Statistics: On weather forecasts, Nate Silver, and the politicization of statistical illiteracy

simplystatistics:

As you know, we have a thing for statistical literacy here at Simply Stats. So of course this column over at Politico got our attention (via Chris V. and others). The column is an attack on Nate Silver, who has a blog where he tries to predict the outcome of elections in the…

I’ve revised your code for efficiency:

# Set initial parameters
percentObama = 0.505
sdObama = 0.01
n = 1000

# Simulate n elections
simulatedPercentObama = rnorm(n,mean=percentObama,sd=sdObama)

# Calculate the percent of times Obama wins
percentObamaWin = mean(simulatedPercentObama > 0.5)
percentObamaWin
    • #statistics
    • #innumeracy
    • #R
  • 6 months ago > simplystatistics
  • 14
  • Comments
  • Permalink
  • Share
    Tweet

14 Notes/ Hide

  1. anghraine likes this
  2. magicbeanlab reblogged this from simplystatistics
  3. srqm reblogged this from simplystatistics
  4. altn8suniverse reblogged this from simplystatistics
  5. altn8suniverse likes this
  6. fancybeans reblogged this from simplystatistics
  7. jhresearchlog reblogged this from simplystatistics and added:
    I’ve revised your...efficiency: # Set initial parameters percentObama = 0.505 sdObama =...
  8. ivanoats likes this
  9. yesslynn reblogged this from simplystatistics and added:
    (biostatistics Professors from Johns Hopkins University) explain why...controversy...
  10. fw3030 reblogged this from simplystatistics
  11. robanhk reblogged this from adamlaiacano
  12. jacob likes this
  13. adamlaiacano reblogged this from simplystatistics and added:
    winning” actually means.
  14. simplystatistics posted this

Recent comments

Blog comments powered by Disqus
← Previous • Next →
A Math Evangelist's Field Notes

Me, Elsewhere

  • @howardjp on Twitter
  • Facebook Profile
  • howardjp on Youtube
  • howardjp on Foursquare
  • Google
  • Linkedin Profile
  • howardjp on github

Twitter

loading tweets…

  • RSS
  • Random
  • Archive
  • Ask me anything
  • Mobile

Copyright © 2012 James Howard.