prob_matrix | R Documentation |
Given a mu, lambda, rho, and theta, generate a probability matrix. Differs from dcProbMatrix in that no regresson or solving for supplied teams happens
prob_matrix(lambda, mu, params, maxgoal)
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 |
a square matrix of maxgoal:maxgoal
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.