Category: R

  • So, last Monday I posted some Olympics boxplots, and then I left for the week to go golfing with my father (We play 7 rounds in 4 days, you take your best score on each hole, add them up and declare a winner.  I won 66-68 this year. Pops now leads the all-time series 3-2).  When…

  • [7/23/2012 Addition: I’ve updated these plots using ggplot2 to look nicer.  They can be found here.] Recently, I saw this pretty cool chart at the Washington Post (I originally saw the chart at this wonderful blog here) about the ages of olympians from the past three olympics.  I commented to myself that I thought it would be…

  • StatsInTheWild MLB rankings as of July 9, 2012 at 1:22pm.  SOS=strength of schedule Team Rank Change Record ESPN TeamRankings.com SOS Run Diff NYY 1 ↑1 52-33 1 1 4 +65 Texas 2 ↓1 52-34 2 2 13 +79 LA Angels 3 ↑1 48-38 4 4 11 +44 ChiSox 4 ↑2 47-38 6 5 14 +63…

  • I found this nice picture below over at Edwin Chen’s blog post about Soda vs Pop with Twitter.  Enjoy! Cheers.

  • Slate has an awesome sports podcast called “Hang Up and Listen” featuring Stefan Fatsis, Josh Levin, and Mike Pesca.  Every week they do a trivia question, and this weeks question was: What current major league player’s first and last name are state capitals. (The answer is one of my top all-star snubs, if you need…

  • StatsInTheWild MLB rankings as of July 2, 2012 at 10:37am.  SOS=strength of schedule The last rankings came out on June 25, and since then the Dodgers have gone 1-6.  Going back two weeks, to June 19, they are 2-11.  As a result of this they fall 8 spots this week, landing them at number 18…

  • StatsInTheWild MLB rankings as of June 25, 2012 at 4:37pm.  SOS=strength of schedule Team Rank Change Record ESPN TeamRankings.com SOS Texas 1 ↑1 45-28 1 2 13 NYY 2 ↓1 43-28 2 1 4 Tampa Bay 3 – 40-32 7 4 3 Toronto 4 ↑1 37-35 17 8 1 Boston 5 ↑1 38-34 10 7…

  • Someone recently mentioned to me that strikeouts in the major leagues were at an all time high.  So I did what anyone would naturally do: Write some R code to scrape baseball-reference.com, collect team data for every team over the past 112 years, and plot it.  The results are below: Things to notice: The strikeout…

  • R.A. Dickey just pitched his second consecutive one-hitter, which is just the latest feat in what is rapidly becoming the season of the pitchers.  So far this season 9 guys other than Dickey have pitched a one-hittter (E.Santana, Cain, Verlander, Moore, Hammel, CJ Wilson, Vogelsong, Duffy, Felix Hernandez), which brings the total to 11 one-hitters…