{
  "_id": "6a25fdbc794753ddbc3e316e",
  "Package": "footBayes",
  "Type": "Package",
  "Title": "Fitting Bayesian and MLE Football Models",
  "Version": "2.1.0",
  "Date": "2025-08-07",
  "Authors@R": "c(person(given = \"Leonardo\",\nfamily = \"Egidi\",\nrole = c(\"aut\", \"cre\"),\nemail = \"legidi@units.it\"),\nperson(given = \"Roberto\",\nfamily = \"Macrì Demartino\",\nrole = \"aut\"),\nperson(given = \"Vasilis\",\nfamily = \"Palaskas.\",\nrole = \"aut\"))",
  "Maintainer": "Leonardo Egidi <legidi@units.it>",
  "License": "GPL-2",
  "Description": "This is the first package allowing for the estimation,\nvisualization and prediction of the most well-known football\nmodels: double Poisson, bivariate Poisson, Skellam, student_t,\ndiagonal-inflated bivariate Poisson, and zero-inflated Skellam.\nIt supports both maximum likelihood estimation (MLE, for\n'static' models only) and Bayesian inference. For Bayesian\nmethods, it incorporates several techniques: MCMC sampling with\nHamiltonian Monte Carlo, variational inference using either the\nPathfinder algorithm or Automatic Differentiation Variational\nInference (ADVI), and the Laplace approximation. The package\ncompiles all the 'CmdStan' models once during installation\nusing the 'instantiate' package. The model construction relies\non the most well-known football references, such as Dixon and\nColes (1997) <doi:10.1111/1467-9876.00065>, Karlis and\nNtzoufras (2003) <doi:10.1111/1467-9884.00366> and Egidi, Pauli\nand Torelli (2018) <doi:10.1177/1471082X18798414>.",
  "URL": "https://github.com/leoegidi/footbayes",
  "BugReports": "https://github.com/leoegidi/footbayes/issues",
  "Encoding": "UTF-8",
  "SystemRequirements": "CmdStan\n(https://mc-stan.org/users/interfaces/cmdstan), pandoc (>=\n1.12.3), pandoc-citeproc",
  "Additional_repositories": "https://stan-dev.r-universe.dev/",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "LazyData": "true",
  "BuildManual": "yes",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev",
  "Repository": "https://leoegidi.r-universe.dev",
  "Date/Publication": "2026-06-07 22:32:22 UTC",
  "RemoteUrl": "https://github.com/leoegidi/footbayes",
  "RemoteRef": "HEAD",
  "RemoteSha": "65ee54e48a4ab443fa3f7c929397977934122602",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-07 23:12:16 UTC",
    "User": "root"
  },
  "Author": "Leonardo Egidi [aut, cre],\nRoberto Macrì Demartino [aut],\nVasilis Palaskas. [aut]",
  "MD5sum": "6ed3a03ce1cb4cbbaadcb9f52b493464",
  "_user": "leoegidi",
  "_type": "src",
  "_file": "footBayes_2.1.0.tar.gz",
  "_fileid": "27249849294d8a1041ba78ab55b6dca7b3c2f0d4aa6f8a6f8a55f4bdbb2a0506",
  "_filesize": 4638352,
  "_sha256": "27249849294d8a1041ba78ab55b6dca7b3c2f0d4aa6f8a6f8a55f4bdbb2a0506",
  "_created": "2026-06-07T23:12:16.000Z",
  "_published": "2026-06-07T23:24:44.557Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80000080984,
      "time": 337,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7468991343"
    },
    {
      "job": 80000080988,
      "time": 314,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7468988512"
    },
    {
      "job": 80000080992,
      "time": 329,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7468990639"
    },
    {
      "job": 80000080987,
      "time": 356,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7468993237"
    },
    {
      "job": 80000081021,
      "time": 138,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7468969105"
    },
    {
      "job": 80000081013,
      "time": 293,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7468986254"
    },
    {
      "job": 80000080983,
      "time": 118,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7468966932"
    },
    {
      "job": 80000080996,
      "time": 260,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7468982671"
    },
    {
      "job": 79998960139,
      "time": 1122,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7468953425"
    },
    {
      "job": 80000080976,
      "time": 270,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7468983539"
    },
    {
      "job": 80000080989,
      "time": 156,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7468971123"
    },
    {
      "job": 80000080990,
      "time": 172,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7468972785"
    },
    {
      "job": 80000081000,
      "time": 168,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7468972292"
    }
  ],
  "_buildurl": "https://github.com/r-universe/leoegidi/actions/runs/27107410703",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/leoegidi/footbayes",
  "_commit": {
    "id": "65ee54e48a4ab443fa3f7c929397977934122602",
    "author": "Roberto Macri' Demartino <ro.macridemartino@gmail.com>",
    "committer": "Roberto Macri' Demartino <ro.macridemartino@gmail.com>",
    "message": "Update test-coverage.yaml\n",
    "time": 1780871542
  },
  "_maintainer": {
    "name": "Leonardo Egidi",
    "email": "legidi@units.it",
    "login": "leoegidi",
    "description": "Associate Professor, Statistics.\n\nPersonal website: https://leoegidi.github.io/",
    "uuid": 17299373
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2.0",
      "role": "Depends"
    },
    {
      "package": "rstan",
      "version": ">= 2.18.1",
      "role": "Imports"
    },
    {
      "package": "instantiate",
      "role": "Imports"
    },
    {
      "package": "reshape2",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "ggridges",
      "role": "Imports"
    },
    {
      "package": "matrixStats",
      "role": "Imports"
    },
    {
      "package": "extraDistr",
      "role": "Imports"
    },
    {
      "package": "metRology",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "numDeriv",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "posterior",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "version": ">= 1.37",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "version": ">= 2.10",
      "role": "Suggests"
    },
    {
      "package": "loo",
      "role": "Suggests"
    },
    {
      "package": "bayesplot",
      "role": "Suggests"
    },
    {
      "package": "cmdstanr",
      "version": ">= 0.6.0",
      "role": "Suggests"
    }
  ],
  "_owner": "leoegidi",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-23",
      "n": 3
    },
    {
      "week": "2025-24",
      "n": 1
    },
    {
      "week": "2025-32",
      "n": 1
    },
    {
      "week": "2026-23",
      "n": 5
    }
  ],
  "_tags": [],
  "_stars": 54,
  "_contributors": [
    {
      "user": "leoegidi",
      "count": 592,
      "uuid": 17299373
    },
    {
      "user": "romad-96",
      "count": 96,
      "uuid": 94459426
    },
    {
      "user": "vasilis-palaskas",
      "count": 3,
      "uuid": 67687246
    }
  ],
  "_userbio": {
    "uuid": 17299373,
    "type": "user",
    "name": "Leonardo Egidi",
    "description": "Associate Professor, Statistics.\r\n\r\nPersonal website: https://leoegidi.github.io/"
  },
  "_downloads": {
    "count": 761,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/footBayes"
  },
  "_devurl": "https://github.com/leoegidi/footbayes",
  "_searchresults": 73,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/footBayes.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/leoegidi/footbayes",
  "_realowner": "leoegidi",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2022-02-21"
    },
    {
      "version": "0.2.0",
      "date": "2023-08-31"
    },
    {
      "version": "1.0.0",
      "date": "2025-01-09"
    },
    {
      "version": "2.0.0",
      "date": "2025-05-16"
    }
  ],
  "_exports": [
    "btd_foot",
    "cauchy",
    "compare_foot",
    "foot_abilities",
    "foot_prob",
    "foot_rank",
    "foot_round_robin",
    "laplace",
    "mle_foot",
    "normal",
    "plot_btdPosterior",
    "plot_logStrength",
    "pp_foot",
    "stan_foot",
    "student_t"
  ],
  "_datasets": [
    {
      "name": "england",
      "title": "English league results 1888-2022",
      "object": "england",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Date",
        "Season",
        "home",
        "visitor",
        "FT",
        "hgoal",
        "vgoal",
        "division",
        "tier",
        "totgoal",
        "goaldif",
        "result"
      ],
      "rows": 203956,
      "table": true,
      "tojson": true
    },
    {
      "name": "italy",
      "title": "Italy league results 1934-2022",
      "object": "italy",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Date",
        "Season",
        "home",
        "visitor",
        "FT",
        "hgoal",
        "vgoal",
        "tier"
      ],
      "rows": 27684,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "btd_foot",
      "title": "Bayesian Bradley-Terry-Davidson Model",
      "topics": [
        "btd_foot"
      ]
    },
    {
      "page": "compare_foot",
      "title": "Compare Football Models using Various Metrics",
      "topics": [
        "compare_foot"
      ]
    },
    {
      "page": "england",
      "title": "English league results 1888-2022",
      "topics": [
        "england"
      ]
    },
    {
      "page": "foot_abilities",
      "title": "Plot football abilities from Stan and MLE models",
      "topics": [
        "foot_abilities"
      ]
    },
    {
      "page": "foot_prob",
      "title": "Plot football matches probabilities for out-of-sample football matches.",
      "topics": [
        "foot_prob"
      ]
    },
    {
      "page": "foot_rank",
      "title": "Rank and points predictions",
      "topics": [
        "foot_rank"
      ]
    },
    {
      "page": "foot_round_robin",
      "title": "Round-robin for football leagues",
      "topics": [
        "foot_round_robin"
      ]
    },
    {
      "page": "italy",
      "title": "Italy league results 1934-2022",
      "topics": [
        "italy"
      ]
    },
    {
      "page": "mle_foot",
      "title": "Fit football models with Maximum Likelihood",
      "topics": [
        "mle_foot"
      ]
    },
    {
      "page": "plot_btdPosterior",
      "title": "Plot Posterior Distributions for 'btdFoot' Objects",
      "topics": [
        "plot_btdPosterior"
      ]
    },
    {
      "page": "plot_logStrength",
      "title": "Plot Rankings for btdFoot Objects",
      "topics": [
        "plot_logStrength"
      ]
    },
    {
      "page": "pp_foot",
      "title": "Posterior predictive checks for football models",
      "topics": [
        "pp_foot"
      ]
    },
    {
      "page": "print.btdFoot",
      "title": "Print Method for btdFoot Objects",
      "topics": [
        "print.btdFoot"
      ]
    },
    {
      "page": "print.compareFoot",
      "title": "Print method for compareFoot objects",
      "topics": [
        "print.compareFoot"
      ]
    },
    {
      "page": "print.stanFoot",
      "title": "Print Method for stanFoot Objects",
      "topics": [
        "print.stanFoot"
      ]
    },
    {
      "page": "priors",
      "title": "Football priors distributions and options",
      "topics": [
        "cauchy",
        "laplace",
        "normal",
        "priors",
        "student_t"
      ]
    },
    {
      "page": "stan_foot",
      "title": "Fit football models using CmdStan",
      "topics": [
        "stan_foot"
      ]
    }
  ],
  "_pkglogo": "https://github.com/leoegidi/footbayes/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/leoegidi/footbayes/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "BH",
    "callr",
    "checkmate",
    "cli",
    "cpp11",
    "DEoptimR",
    "desc",
    "distributional",
    "dplyr",
    "extraDistr",
    "farver",
    "fs",
    "generics",
    "ggplot2",
    "ggridges",
    "glue",
    "gridExtra",
    "gtable",
    "inline",
    "instantiate",
    "isoband",
    "labeling",
    "lifecycle",
    "loo",
    "magrittr",
    "MASS",
    "matrixStats",
    "metRology",
    "numDeriv",
    "otel",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "plyr",
    "posterior",
    "processx",
    "ps",
    "purrr",
    "QuickJSR",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "RcppParallel",
    "reshape2",
    "rlang",
    "robustbase",
    "rstan",
    "S7",
    "scales",
    "StanHeaders",
    "stringi",
    "stringr",
    "tensorA",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "footBayes_a_rapid_guide.Rmd",
      "filename": "footBayes_a_rapid_guide.html",
      "title": "Fitting football models and visualizing predictions with the footBayes package",
      "author": "Leonardo Egidi, Roberto Macrì Demartino, and Vasilis Palaskas",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Modeling football outcomes",
        "Bradley-Terry-Davidson model",
        "Bivariate-Poisson model",
        "Likelihood approach",
        "Bayesian approach",
        "Hamiltonian Monte Carlo (HMC)",
        "Variational Inference Methods",
        "Laplace Approximation",
        "Installing the package",
        "Bradley-Terry-Davidson model fit",
        "Using btd_foot",
        "Visualization tools",
        "Goal-based models fit",
        "Static fit",
        "Changing default priors",
        "Dynamic fit",
        "Using btd_foot and stan_foot sequentially",
        "Model estimates and visualization tools",
        "Plotting and interpreting team-specific abilities",
        "Model checking",
        "Predictions and predictive accuracy",
        "Posterior out-of-sample probabilities",
        "Home-win posterior probabilities",
        "Rank-league reconstruction",
        "Model comparisons",
        "Comparing Football Prediction Models using compare_foot",
        "LOOIC and WAIC",
        "Extensions in next versions",
        "References"
      ],
      "created": "2022-01-26 16:40:19",
      "modified": "2025-06-02 19:53:17",
      "commits": 89
    }
  ],
  "_score": 7.197776611271387,
  "_indexed": true,
  "_nocasepkg": "footbayes",
  "_universes": [
    "leoegidi"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.0",
      "date": "2026-06-07T23:23:18.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "65ee54e48a4ab443fa3f7c929397977934122602",
      "fileid": "2d9b9e5f892388505432b57dab0c043b1f2cee8b8217f3d0ed3dd34a3578db79",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leoegidi/actions/runs/27107410703"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.0",
      "date": "2026-06-07T23:22:46.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "65ee54e48a4ab443fa3f7c929397977934122602",
      "fileid": "1d537762a8fde5c7c979c4f3fa4d172fca50780a49ec58cbe1c65a32845d9a46",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leoegidi/actions/runs/27107410703"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.1.0",
      "date": "2026-06-07T23:23:10.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "65ee54e48a4ab443fa3f7c929397977934122602",
      "fileid": "70a1232384887ced8ac95034582aeb69c9c99c9c45abec9a0e7449e9ea38a169",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leoegidi/actions/runs/27107410703"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.1.0",
      "date": "2026-06-07T23:23:23.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "65ee54e48a4ab443fa3f7c929397977934122602",
      "fileid": "0697f12471031d3ec27c0618d7c32ef681978c146d9628af9d4838db52919355",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leoegidi/actions/runs/27107410703"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.0",
      "date": "2026-06-07T23:20:00.000Z",
      "arch": "aarch64",
      "commit": "65ee54e48a4ab443fa3f7c929397977934122602",
      "fileid": "f0460eb30757ffc7ee19d890582820eca88aa2e243b513f4c2fcf9810898d5ba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leoegidi/actions/runs/27107410703"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.0",
      "date": "2026-06-07T23:21:06.000Z",
      "arch": "x86_64",
      "commit": "65ee54e48a4ab443fa3f7c929397977934122602",
      "fileid": "7108357fa57611b57a4f1f2f51ea71855542d952978a176770ee4e8afff45125",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leoegidi/actions/runs/27107410703"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.1.0",
      "date": "2026-06-07T23:19:51.000Z",
      "arch": "aarch64",
      "commit": "65ee54e48a4ab443fa3f7c929397977934122602",
      "fileid": "8591caef6691765de77e5432d654a0b796c79fd8a3fca3a7060950be2a44d5fe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leoegidi/actions/runs/27107410703"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.1.0",
      "date": "2026-06-07T23:21:25.000Z",
      "arch": "x86_64",
      "commit": "65ee54e48a4ab443fa3f7c929397977934122602",
      "fileid": "62e81465417afe6222c46df34d37a1c0f0d14fbbb8d1a5b33c48cb27ea9b137e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leoegidi/actions/runs/27107410703"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.1.0",
      "date": "2026-06-07T23:22:58.000Z",
      "arch": "emscripten",
      "commit": "65ee54e48a4ab443fa3f7c929397977934122602",
      "fileid": "db6bd87ec9060842461d0714c3d5beb26f70e80334ba5ceea4d367c41dc395b2",
      "status": "success",
      "buildurl": "https://github.com/r-universe/leoegidi/actions/runs/27107410703"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1.0",
      "date": "2026-06-07T23:20:01.000Z",
      "arch": "x86_64",
      "commit": "65ee54e48a4ab443fa3f7c929397977934122602",
      "fileid": "64a7c5d5f74cf0c5bccf27de9a95bd7f20b25caee09c676e2eab2f383918518f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leoegidi/actions/runs/27107410703"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.1.0",
      "date": "2026-06-07T23:20:02.000Z",
      "arch": "x86_64",
      "commit": "65ee54e48a4ab443fa3f7c929397977934122602",
      "fileid": "fc5c4d1d656bff3c16e55ca5661b147cc9391acf4cdd7453a1ef8583bf016e0e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leoegidi/actions/runs/27107410703"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.1.0",
      "date": "2026-06-07T23:20:01.000Z",
      "arch": "x86_64",
      "commit": "65ee54e48a4ab443fa3f7c929397977934122602",
      "fileid": "9ed33f443e9cc2938917f0dffde51972c57154ddd98de785abc8dbe9f8ae13b2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leoegidi/actions/runs/27107410703"
    }
  ]
}