prob_matrix: Probability Matrix

View source: R/dixon-coles.R

prob_matrixR Documentation

Probability Matrix

Description

Given a mu, lambda, rho, and theta, generate a probability matrix. Differs from dcProbMatrix in that no regresson or solving for supplied teams happens

Usage

prob_matrix(lambda, mu, params, maxgoal)

Arguments

lambda

home lambda

mu

away mu

params

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

maxgoal

max goals per game

Value

a square matrix of maxgoal:maxgoal


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