remainderSeasonDC: DC remainder of season

View source: R/dixon-coles.R

remainderSeasonDCR Documentation

DC remainder of season

Description

Odds for each team to get to playoffs.

Usage

remainderSeasonDC(
  nsims = 10000,
  cores = NULL,
  params = NULL,
  scores = HockeyModel::scores,
  schedule = HockeyModel::schedule,
  odds = FALSE,
  regress = TRUE,
  mu_lambda = FALSE
)

Arguments

nsims

Number of simulations

cores

The number of cores to use if using parallel processing, or 1 for single-core, NULL defaults to all cores or 1 if parallel package not installed.

params

The named list containing m, rho, beta, eta, and k. See updateDC for information on the params list

scores

the historical scores

schedule

un-played future games

odds

whether to return odds table or simulate season

regress

whether to apply a regression to the mean for team strength on future predictions

mu_lambda

whether to return team xG values. Can't be set true if odds is true

Value

data frame of Team, playoff odds.


pbulsink/HockeyModel documentation built on Dec. 16, 2024, 8:03 a.m.