R script for computing running Pythagorean expectations and game by game BaseRuns

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • matthew919
    SBR Sharp
    • 11-21-12
    • 421

    #1
    R script for computing running Pythagorean expectations and game by game BaseRuns
    Thought I'd provide a script for anyone interested in R programming. It's nothing fancy- just takes retrosheet game log files and computes a few statistics from them. Probably more valuable as example code for people looking to learn a very useful programming language.

    Just download a "glXXXX" file from retrosheet, change the directory location in the script to reflect where it resides on your machine, and run. No warranty on this, since I just typed it up real fast. Anyway, hope it can be useful to someone.

    Matt
    Attached Files
  • Miz
    SBR Wise Guy
    • 08-30-09
    • 695

    #2
    thanks for sharing, Matt. I'll peruse this tonight.
    Comment
    • TomG
      SBR Wise Guy
      • 10-29-07
      • 500

      #3
      looks like a good start. if you're interested in that kind of stuff there is a dead sports analytics package on cran you could probably adopt and attempt to collaborate with others on

      Comment
      • matthew919
        SBR Sharp
        • 11-21-12
        • 421

        #4
        Thanks for the info Tom.
        Comment
        SBR Contests
        Collapse
        Top-Rated US Sportsbooks
        Collapse
        Working...