rskellam: Simulate variates of Skellam distribution i.e. difference of...

View source: R/skellam.R

rskellamR Documentation

Simulate variates of Skellam distribution i.e. difference of two independent Poisson RVs

Description

The Skellam distribution for the difference of two independent Poisson RVs is used to model point-spread in games with goals worth unit-points.

Usage

rskellam(n, lambda, mu)

Arguments

n

number of variates to sample from the distribution

lambda

mean number of points of favorite team

mu

mean number of points of underdog team

Value

numeric or vector


shill1729/sportsbets documentation built on Dec. 27, 2022, 10:53 p.m.