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.

Author | Eli Holmes |

Date of publication | 2013-10-23 07:59:42 |

Maintainer | E Holmes <eeholmes@u.washington.edu> |

License | GPL-2 |

Version | 2.0 |

http://www.lastplanetranking.blogspot.com/ |

**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...

fbRanks

fbRanks/inst

fbRanks/inst/doc

fbRanks/inst/doc/Basic_team_ranking.R

fbRanks/inst/doc/Basic_team_ranking.Rnw

fbRanks/inst/doc/Scrape_match_data.Rnw

fbRanks/inst/doc/Basic_team_ranking.pdf

fbRanks/inst/doc/Scrape_match_data.R

fbRanks/inst/doc/Scrape_match_data.pdf

fbRanks/NAMESPACE

fbRanks/NEWS

fbRanks/data

fbRanks/data/B00data.rda

fbRanks/R

fbRanks/R/detect_normality_outliers.R
fbRanks/R/scrape_demosphere.R
fbRanks/R/scrape_gotsport.R
fbRanks/R/scrape_json1.R
fbRanks/R/scale_for_ranks.R
fbRanks/R/predict_fbRanks.R
fbRanks/R/scrape_demosphere_main.R
fbRanks/R/coef_fbRanks.R
fbRanks/R/simulate_fbRanks.R
fbRanks/R/scrape_custom3.R
fbRanks/R/scrape_clubsoccer.R
fbRanks/R/scrape_custom1.R
fbRanks/R/resolve_team_names.R
fbRanks/R/scrape_custom2.R
fbRanks/R/residuals_fbRanks.R
fbRanks/R/rank_teams.R
fbRanks/R/team_name_select.R
fbRanks/R/create_newdata_dataframe.R
fbRanks/R/scrape_gotsport_main.R
fbRanks/R/scrape_sportaffinity_brackets.R
fbRanks/R/scrape_affinity_main.R
fbRanks/R/scrape_custom4.R
fbRanks/R/scrape_sportaffinity.R
fbRanks/R/construct_team_file.R
fbRanks/R/print_fbRanks.R
fbRanks/R/scrape_scoreboard.R
fbRanks/R/create_fbRanks_dataframes.R
fbRanks/R/scrape_korrio.R
fbRanks/R/str_functions.R
fbRanks/R/team_and_score_filters.R
fbRanks/R/plot_fbRanks.R
fbRanks/vignettes

fbRanks/vignettes/Basic_team_ranking.Rnw

fbRanks/vignettes/Scrape_match_data.Rnw

fbRanks/vignettes/teams-web.csv

fbRanks/vignettes/scores-web.csv

fbRanks/MD5

fbRanks/build

fbRanks/build/vignette.rds

fbRanks/DESCRIPTION

fbRanks/man

fbRanks/man/create_fbRanks_dataframes.Rd
fbRanks/man/residuals_fbRanks.Rd
fbRanks/man/plot_fbRanks.Rd
fbRanks/man/scrape_scores.Rd
fbRanks/man/predict_fbRanks.Rd
fbRanks/man/create_newdata_dataframe.Rd
fbRanks/man/coef_fbRanks.Rd
fbRanks/man/simulate_fbRanks.Rd
fbRanks/man/B00_data.Rd
fbRanks/man/construct_team_file.Rd
fbRanks/man/team_name_select.Rd
fbRanks/man/rank_teams.Rd
fbRanks/man/resolve_team_names.Rd
fbRanks/man/print_fbRanks.Rd
fbRanks/man/fbRanks_utility_functions.Rd
fbRanks/man/team_and_scores_filters.Rd
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.