fbRanks: Association Football (Soccer) Ranking via Poisson Regression
Version 2.0

This package uses time dependent Poisson regression and a record of goals scored in matches to rank teams via estimated attack and defense strengths. The statistical model is based on Dixon and Coles (1997) Modeling Association Football Scores and Inefficiencies in the Football Betting Market, Applied Statistics, Volume 46, Issue 2, 265-280. The package has a some webscrapers to assist in the development and updating of a match database. If the match database contains unconnected clusters (i.e. sets of teams that have only played each other and not played teams from other sets), each cluster is ranked separately relative to the median team strength in the cluster. The package contains functions for predicting and simulating tournaments and leagues from estimated models. The package allows fitting via the glm(), speedglm(), and glmnet() functions. The latter allows fast and efficient fitting of very large numbers of teams. The fitting algorithm will analyze the match data and determine which teams form a cluster (a set of teams where there is a path of matches connecting every team) and fit each cluster separately.

Browse man pages Browse package API and functions Browse package files

AuthorEli Holmes
Date of publication2013-10-23 07:59:42
MaintainerE Holmes <eeholmes@u.washington.edu>
LicenseGPL-2
Version2.0
URL http://www.lastplanetranking.blogspot.com/
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("fbRanks")

Man pages

B00_data: Match and Team Data for B00 Youth Soccer Matches
coef_fbRanks: Return Coefficients from fbRanks Objects
construct_team_file: Helper Function to Construct a Team File
create_fbRanks_dataframes: Helper Function to Construct the Scores and Teams Data Frames...
create_newdata_dataframe: Helper Function to Replace Team Names in Score File with a...
fbRanks_utility_functions: Helper Functions in the fbRanks Package
plot_fbRanks: Plotting function for fbRanks Objects
predict_fbRanks: Predict function for fbRanks Objects
print_fbRanks: Printing function for fbRanks Objects
rank_teams: Team Ranks Via Poission Regression
residuals_fbRanks: Residuals function for fbRanks Objects
resolve_team_names: Helper Function to Create Uniform Team Names in Score Data...
scrape_scores: Webscraping Match Scores
simulate_fbRanks: Simulate function for fbRanks Objects
team_and_scores_filters: Helper Function to Determine Teams or Scores to Include
team_name_select: Helper Function to Create Uniform Team Names in Score Data...

Functions

B00.founders Man page
B00.scores Man page
B00.teams Man page
coef Man page
coef.fbRanks Man page Source code
construct.team.file Man page Source code
create.fbRanks.dataframes Man page Source code
create.newdata.dataframe Man page Source code
detect.normality.outliers Man page Source code
edit_team_data Man page Source code
fbRanks Man page
plot Man page
plot.fbRanks Man page Source code
predict Man page
predict.fbRanks Man page Source code
print Man page
print.fbRanks Man page Source code
rank.teams Man page Source code
residuals Man page
residuals.fbRanks Man page Source code
resolve.team.names Man page Source code
scale.for.ranks Man page Source code
scrape.custom1 Man page Source code
scrape.custom2 Man page Source code
scrape.custom3 Man page Source code
scrape.custom4 Man page Source code
scrape.demosphere Man page Source code
scrape.demosphere.main Man page Source code
scrape.gotsport Man page Source code
scrape.gotsport.main Man page Source code
scrape.json1 Man page Source code
scrape.korrio Man page Source code
scrape.matches Man page
scrape.scoreboard Man page Source code
scrape.sportaffinity Man page Source code
scrape.sportaffinity.brackets Man page Source code
scrape.sportaffinity.main Man page Source code
scrape.usclub Man page Source code
simulate Man page
simulate.fbRanks Man page Source code
str_proper Man page Source code
str_remove Man page Source code
str_remove.nonascii Man page Source code
str_remove.nonascii.2 Source code
str_strip.white Man page Source code
team.and.score.filters Man page Source code
team.name.select Man page Source code

Files

inst
inst/doc
inst/doc/Basic_team_ranking.R
inst/doc/Basic_team_ranking.Rnw
inst/doc/Scrape_match_data.Rnw
inst/doc/Basic_team_ranking.pdf
inst/doc/Scrape_match_data.R
inst/doc/Scrape_match_data.pdf
NAMESPACE
NEWS
data
data/B00data.rda
R
R/detect_normality_outliers.R
R/scrape_demosphere.R
R/scrape_gotsport.R
R/scrape_json1.R
R/scale_for_ranks.R
R/predict_fbRanks.R
R/scrape_demosphere_main.R
R/coef_fbRanks.R
R/simulate_fbRanks.R
R/scrape_custom3.R
R/scrape_clubsoccer.R
R/scrape_custom1.R
R/resolve_team_names.R
R/scrape_custom2.R
R/residuals_fbRanks.R
R/rank_teams.R
R/team_name_select.R
R/create_newdata_dataframe.R
R/scrape_gotsport_main.R
R/scrape_sportaffinity_brackets.R
R/scrape_affinity_main.R
R/scrape_custom4.R
R/scrape_sportaffinity.R
R/construct_team_file.R
R/print_fbRanks.R
R/scrape_scoreboard.R
R/create_fbRanks_dataframes.R
R/scrape_korrio.R
R/str_functions.R
R/team_and_score_filters.R
R/plot_fbRanks.R
vignettes
vignettes/Basic_team_ranking.Rnw
vignettes/Scrape_match_data.Rnw
vignettes/teams-web.csv
vignettes/scores-web.csv
MD5
build
build/vignette.rds
DESCRIPTION
man
man/create_fbRanks_dataframes.Rd
man/residuals_fbRanks.Rd
man/plot_fbRanks.Rd
man/scrape_scores.Rd
man/predict_fbRanks.Rd
man/create_newdata_dataframe.Rd
man/coef_fbRanks.Rd
man/simulate_fbRanks.Rd
man/B00_data.Rd
man/construct_team_file.Rd
man/team_name_select.Rd
man/rank_teams.Rd
man/resolve_team_names.Rd
man/print_fbRanks.Rd
man/fbRanks_utility_functions.Rd
man/team_and_scores_filters.Rd
fbRanks documentation built on May 19, 2017, 7:52 a.m.