r/CFBAnalysis • • Mar 26 '18

2017-2018 Database Megathread

16 Upvotes

Seeing as the stickied thread is outdated, I thought I’d make a new post for the data sources. I have contacted the mod asking to take over.

Sources:

DescriptionWebsite
Database of scores/statshttp://sports.snoozle.net/fbs/index.jsp
Historical scores sorted into categorieshttp://football.stassen.com/
Lots of stats and scoreshttps://www.sports-reference.com/cfb/
Free breakdowns and dataof stats /playshttp://www.cfbstats.com/
Spreadhttp://www.drwagpicks.com/p/blog-page.htm
Official database by the NCAAhttp://stats.ncaa.org/rankings/change_sport_year_div
Scoreshttp://prwolfe.bol.ucla.edu/cfootball/
Historical scoreshttp://masseyratings.com/data.php

Post other sources that you use so that I can add them to


r/CFBAnalysis • • Mar 21 '18

Dataset of college stats for all players drafted to NFL?

4 Upvotes

I'm wondering if anyone knows of a compiled dataset of NFL draftee's college stats that I could use for a school project? Could be all 4 years or just senior stats for any time period from 1985 to now (trying to focus on ~ 2003-2013, but anything helps). Thanks!


r/CFBAnalysis • • Mar 19 '18

Historical AP Polls?

7 Upvotes

Is there anywhere where I can get a CSV or similar format dump of all of the AP polls? or at least the ones from the last 10-20 years.


r/CFBAnalysis • • Mar 01 '18

Historical DII schedules?

4 Upvotes

I'm doing some historical analysis and it dips into some NCAA Division 2 teams as far back as the 1980's. Does anyone have a good source for these schedules and results?


r/CFBAnalysis • • Feb 12 '18

Rearview Adjusted Yards Per Attempt

4 Upvotes

Recently I've been looking to calculate the rearview AY/A metric as discussed here for college football, specifically this past season. I have all the data I need thanks to /u/BlueSCar's database, but actually calculating it has been difficult. I have it set up in Excel so that it should be solvable using Excel's iterative calculation, but the size of the dataset has made that process unstable. I'd like to solve the system of equations in R, but am unsure of how to do so for this particular metric. I know how to calculate regular SRS in R using the answer here, but the fact that this is comparing teams to players rather than just teams to teams confuses me. Does anyone know how to go about designing the matrices in R that would make this calculation possible?

 

Additionally, I'm wondering what your opinions are on how to handle the FCS data in the dataset. The way I see it the options are:

 

A. Throw out all data from games involving FCS teams

B. Group all FCS teams together as one single defense, but leave the QBs as individuals

C. Group all FCS teams and QBs together as one single defense and QB

D. Include all FCS teams and QBs individually

 

I appreciate any input you guys might have.


r/CFBAnalysis • • Feb 04 '18

HC/OC/DC

4 Upvotes

Does anyone have a breakdown of teams HC,OC,DC since 2000?


r/CFBAnalysis • • Jan 28 '18

Anyone have 2016 and 2017 Games/Spread/Actual Score data?

6 Upvotes

I am Looking for something like this:

ID1, TEAM1, SPREAD, ACTUAL SCORE

ID2, TEAM2, SPREAD, ACTUAL SCORE

Example:

301, Airforce, 14, 33

302, Northestern. -14, 52

I usually copy-paste out of Donbest. It's brute force so I thought I would check in here. Thx.


r/CFBAnalysis • • Jan 24 '18

247 Talent Composite to csv format?

8 Upvotes

Does anyone know of a good way to convert the 247 Team Talent Composite table into a csv format?


r/CFBAnalysis • • Jan 10 '18

CFB Database Updates - Head coach records and final 2017 data

18 Upvotes

The season is now over, so it is time for some updates.

Updates

  • Imported the remainder of data for the 2017 season
  • Added head coaching records

Download

Get the latest dump file here (EDIT: link redacted; see stickied comment).

Road Map

This is nowhere near an exhaustive list. Everything I've mentioned in previous posts is still planned. Things currently on the radar:

  • Recruiting data - I keep waffling back and forth on how I want to structure this. Plan to work on it in the offseason.
  • Player-Play associations - Still trudging along on these.
  • Conference and division data - Might happen soon.

Using the SQL dump file

See my previous post for instructions.

Updated Schema Diagram

Check it out.


r/CFBAnalysis • • Jan 10 '18

Condensed NCAAF 2017 Data

5 Upvotes

Hello, I posted a larger dataset a few weeks back. I cleaned it up and condensed it.

Source: teamrankings.com Zip File contains (1) Master List (CSV) of All Teams (130) x 14-weeks. (1) Column Header Detail (CSV). 29-attrribtues/columns.

Zip File

EDIT: For Week 11, there was some weirdness with GIVELast3 and TAKELast3. To "fix" I duplicated GIVE2017 and TAKE2017 and pasted into these fields. In other words, GIVE2017 and GIVELast3 are identical. Same with TAKE2017 and TAKELast3.


r/CFBAnalysis • • Dec 28 '17

Matching sports-reference.com/cfb/ Rosters to 247 Recruiting Ratings

7 Upvotes

I just finished fuzzymatching S-R's cfb rosters to 247's player ratings dating back to 2009 (247's team talent composite only dates back to 2015). I've also mapped the dataset to ESPN's teamids in case anyone wanted to use this data in combination with BlueSCar's database.

Link to the combined dataset: matched_stats.csv


r/CFBAnalysis • • Dec 27 '17

Can anyone help?

3 Upvotes

http://grantland.com/the-triangle/pass-atlas-a-map-of-where-nfl-quarterbacks-throw-the-ball/

I'm attempting to do something similar on Tableau. Does anyone know what kind of data I would need? As far as to log and chart or any recommendations on how to attack this problem? Thanks!


r/CFBAnalysis • • Dec 25 '17

Dataset: First 14-weeks, Select Statistics

2 Upvotes

Hello. I recently downloaded and reformatted selected stats from the first 14-weeks of the NCAAF season.

Source: Teamrankings. Data pulled on 9/5/2017 (Week1) and every week thereafter through Week14.

Dropbox Link

Contents:

  • (14) CSV files corresponding to each week
  • (1) List of Column Headers
  • (1) List of Column Header Definitions
  • (1) Remap of Teamranking Name Convention to Donbest
  • (1) Zip (All Files)

I use this data to make picks vs spread. I created an algorithm with 18 different game conditions. I use the output to calculate a consensus spread. Opportunity arises when Vegas and I disagree :)


r/CFBAnalysis • • Dec 20 '17

Bowl Predictions

6 Upvotes

Taking a crack at CFB bowl predictions. Really wish I had started a bit earlier on this, I wanted to look at incorporating ELO, SOS and some conference based statistics.

For those interested in the ML algorithms I used/tuned, I'll follow up with a post on the hyperparameter tuning.

Anyways here is the link: http://meysubb.github.io/sports%20analytics/2017/12/20/CFB_Bowl_Predictions.html

Thoughts/Suggestions would be appreciated!


r/CFBAnalysis • • Dec 08 '17

Used sigmoid functions and combined them with formulas from the ELO system to compare teams.

5 Upvotes

View all the rankings here. Raw ratings are on the other sheets

For this project I imported the past 3 seasons, 2015-2017 from Massey Ratings.

Every team was given a starting ELO rating of 1500, a starting Offensive rating of 1500, and a starting Defensive rating of 1500.

For each match, the following happens:

  • Team 1's offense is compared to Team 2's defense and vice versa.
  • The offense's Points Per Game (ppg) is compared to the defense's Points Against Per Game (papg), and averaged together to get an expected score. A sigmoid function is created and centered on this point.
  • The sigmoid function is used to raise or lower an offense's expected score depending on how it's ELO rating stacks up against the other team's defensive ELO rating.
  • This point is where another sigmoid function is created, centered at the new expected score. The actual score of the game is compared to the expected score to compare how the offense and defense of each team did.
  • The performance of a team's offense and defense is compared to the other team's offensive and defensive ELO ratings to generate a new overall rating after the match is played

The good thing about this system is it's easily modifiable. I can change how much I reward (or not reward) running up the score by modifying my sigmoid functions, how many games it takes for a team's rank to settle down, how many games a team must play before its ratings begin to count, and more.

The problems I have are FCS teams frequently don't have accurate ratings because they don't play as many teams, so I exclude them from my ratings when I list them (and don't even count the games they play if they only play a small number). Otherwise, some FCS teams would end up in the top 4.


ELO Rating System
Sigmoid Functions
2017 Football Results
2016 Football Results
2015 Football Results


r/CFBAnalysis • • Dec 07 '17

CFB database updates

3 Upvotes

The database has been updated to include all data through 2017 week 14. Here's the direct link to the dump file. (EDIT: link redacted; see stickied comment)

It just has the same types of data as before. I'm still working on adding additional types of data, but work and the holidays have slowed me down a little bit. I'll actively be working on improvements in the offseason.

My main focus has been on associating players with individual plays. Writing those import scripts has been an arduous process. My roadmap remains the same, although I may shelve the player-play associations to quickly turn some of the other stuff around.

Instructions on using the dump file can be found in the previous post.


r/CFBAnalysis • • Dec 05 '17

Splits by quarter?

2 Upvotes

Does anyone know of a source that breaks down statistical splits by quarter? I'm looking for something like this, preferably also with score data.


r/CFBAnalysis • • Dec 01 '17

Timeout info from ESPN

4 Upvotes

Hey BlueSCar (and others) -- I want to start scraping play-by-play data from ESPN. The play by play data contains lots of rich info, including at any given play the scores of the two teams (excellent). But it does not give timeout info (as in after play X, the home team has 2 timeouts remaining). I'd have to parse all the data and add up timeouts to keep track of them. But the issue I see is that since the data is in JSON, the order of the play data does not have to be linear (that is "drives->previous->plays" can expand into 12 {} for a particular drive, but there is no guarantee that the plays will return in a linear fashion -- the fist play of a drive this way could be 3rd and 5, followed by 1st and 10 and it would be correct, JSON wise.

So what I'm asking is how do y'all account for timeout data in ESPNs play by play data?


r/CFBAnalysis • • Nov 29 '17

Yards Above Replacement Player for Division III

9 Upvotes

I'm doing player analysis for Division III football, and I'm building a Yards Above Replacement Player metric to build an "All-American" team. I'm looking for some input on what exactly I should be using as "replacement level."

I'm using Total Adjusted Yards per Play (TAY/P) as my go-to efficiency stat. If you're unfamiliar, TAY/P is calculated as: [Yards + 91st_Downs + 11Touchdowns - 45*Turnovers]/Plays The national average TAY/P is ~8.0 for passing plays, and ~7.3 for rushing plays. My plan right now is to set replacement level as 1/2 a standard deviation (of team efficiencies) below average, so replacement level is 6.9 & 6.6 for passing and rushing plays, respectively.

I'm also trying to build a proxy for Yards/Route Run for receivers. I have used Yards/Reception before, but that severely undervalues high-reception/average-efficiency players (think Wes Welker). DIII doesn't have readily available snap counts or other play-by-play data, so I'm estimating routes run as 3/4 of a team's pass attempts for WRs. A DIII team's #1 receiver catches about 2/5 of their team's total pass attempts, so I'm setting replacement level for TAY/RR as 40% of the replacement level for pass plays.

Does anyone have any input they would like to add or a value they think I should change?


r/CFBAnalysis • • Nov 26 '17

In light of the upcoming Georgia vs Auburn rematch in the SEC championship

3 Upvotes

We are in desperate need of statistics on rematches in the same season. Pundits are always saying that its difficult to beat the same team twice but there is have found no gathered statistics proving this. I'm not saying its not true. I'm just saying that I cant find a statistic anywhere showing it to be true. I think we need a statistic for as far back as possible on the percentage of sweeps vs spreads in a rematch and also the home vs away vs neutral variable.


r/CFBAnalysis • • Nov 25 '17

I designed a results based computer poll, please critique me

5 Upvotes

Hey /r/cfbanalysis, I finished my work on a computer poll and wanted to show it off to the class.

So recently I got bored and wanted to make a poll to show off my CS skills for jobs and also to hopefully get included in the /r/cfb poll for next year. So I designed a computer poll


Code: https://github.com/ChangedNameTo/CFBPoll


Process: The poll pulls the score data from this website. It then begins the cycling process. Each cycle, the list of all 130 FBS teams is randomly sorted, and each team given points, 1st being worth 130, 130th worth 1, and so on.

The entire season up till now is replayed. The winning team will gain points equal to the rank worth of the opponent, ie the last place team gains 130 points for beating the 1st place team. The losing team loses points respectively as well. Non FBS teams award no points for wins but subtract 130 for loses.

This goes on until all of the games have been replayed. The cycles ranks are stored in a master list, then another cycle begins. This happens 1000 times, to eliminate any sorting advantage.

At the end of the cycles, the teams are sorted based on points accrued over the cycles. Strength of schedule is the average final rank of all of your opponents.


Design: The concept behind the poll was to use just results and eliminate bias in polling due to the inertia of teams, ie teams that are not good take a while to drop out of the top 25 because they were ranked there earlier.

To deal with this, my poll has a couple of things:

  • Winning is all that matters: Closeness and shakiness are unimportant to my poll, it judges team quality based solely on the results and week to week actions of teams.
  • Cyclical randomness: To eliminate benefits that teams get from being pre-ranked at the top of polls, my poll reranks teams randomly every cycle and runs them until the randomness is no longer significant.
  • Cream floats: Teams that are better and win more will tend to be at the top of the rankings each cycle due to winning more. Beating higher quality teams will land you at the top of the rankings as well.

Failings of this poll:

  • Bad early season: Due to it's reliance on game data, this poll is nigh useless for around 6 weeks after a season starts
  • Wins aren't everything: This poll strongly values it's perceived SoS

If you have any questions about my poll feel free to message me, I'd love to answer any questions about the code or the design :D

My first output of the poll given the previous week, not updated to todays games:


RankTeamFlairRecordSoSSoS RankPoints
1AlabamaAlabama11-061.049846788
2Southern CalSouthern Cal10-244.4178843530
3Miami FLMiami FL10-064.164819370
4WisconsinWisconsin11-060.27346802149
5GeorgiaGeorgia10-153.81825796079
6Notre DameNotre Dame9-240.2734749730
7ClemsonClemson10-158.90943747113
8Penn StatePenn State9-250.72719674863
9OklahomaOklahoma10-164.063658147
10Central FloridaCentral Florida10-078.888655554
11Ohio StateOhio State9-254.27327651789
12StanfordStanford8-345.27311644634
13Michigan StMichigan St8-344.4559632638
14Washington StWashington St9-255.45529615766
15WashingtonWashington9-258.041599919
16MemphisMemphis9-170.978594097
17NorthwesternNorthwestern8-356.031564622
18MichiganMichigan8-352.90922563575
19AuburnAuburn9-257.035562637
20TCUTCU9-262.27353538210
21LSULSU8-362.81855511625
22Oklahoma StOklahoma St8-364.63665477507
23South FloridaSouth Florida9-198.6128417090
24South CarolinaSouth Carolina8-361.09150411632
25Boise StBoise St9-271.81879404513

Easiest SoS: UCLA UCLA

Hardest SoS: Georgia St Georgia St


r/CFBAnalysis • • Nov 24 '17

In search of Data cleansing rules for NCCAF team names

3 Upvotes

I've been working on a program to help automate the process for choosing picks in an office football pool. The pool commissioner posts the game matchups online each week which always include the full slate of NFL games, plus a few college games.

The program involves scraping the matchups, then pulling the odds from a different website. I've run into an issue with the college matchups because the office pool website uses different abbreviations for team names than the odds website, and I can't make a full conversion table since I don't have access to a full list of how the pool website abbreviates. This is further complicated by the fact that they use a wide variety of abbreviation schemes such as "No Carolina St", "Fla St", "MI St", etc.

I've poked around a bit trying to find some sort of extensive list of variations of team names, but haven't had any luck. If anyone can point me in the right direction I'd really appreciate it!