Question: does a team's recent team-level performance predict whether they will win or lose subsequent games? Can this be used to predict NCAA tournament games?
W1.R data wrangling scripts: takes regular season detailed data subset by variable season_target, calculates possession and efficiency stats, calculates a team's "last 5 game" average performance, then joins data to each regular season game matchup.
M1.R data from W1.R are run through a random forest model using ranger package.
WP2.R tournament compact data are merged with regular season "last 5 game" performance data from W1.R. The last row of data from each team+season combination in W1.R is used as the "input" to the model object from M1.R.
Are the last five regular season games of a team predictive of their performance in the NCAA tournament?
File sequence:
Folder:
scripts2018
Question
: does a team's recent team-level performance predict whether they will win or lose subsequent games? Can this be used to predict NCAA tournament games?W1.R
data wrangling scripts: takes regular season detailed data subset by variableseason_target
, calculates possession and efficiency stats, calculates a team's "last 5 game" average performance, then joins data to each regular season game matchup.M1.R
data fromW1.R
are run through a random forest model usingranger
package.WP2.R
tournament compact data are merged with regular season "last 5 game" performance data fromW1.R
. The last row of data from each team+season combination inW1.R
is used as the "input" to the model object fromM1.R
.E1.R
Analyze prediction results fromWP2.R