Player {TrueSkillThroughTime}R Documentation

Player

Description

Player class

Usage

Player(prior = Nms, beta = BETA, gamma = GAMMA)

performance(a)

Arguments

prior

A Gaussian object, the prior belief distribution of the skills. The default value is: Nms = Gaussian(mu = 0, sigma = 6).

beta

A number, the standard deviation of the performance. The default value is: BETA = 1. The parameter beta acts as the scale of the estimates. A real difference of one beta between two skills is equivalent to 76% probability of winning.

gamma

A number, the amount of uncertainty (standar deviation) added to the estimates at each time step. The default value is: GAMMA = 0.03.

a

A Player object

Value

Player object

Examples

a1 = Player(prior = Gaussian(0,6), beta = 1, gamma = 0.03); 
a2 = Player()
a1@gamma == a2@gamma 
N = performance(a1) 
N@mu == a1@prior@mu
N@sigma == sqrt(a1@prior@sigma^2 + a1@beta^2)


[Package TrueSkillThroughTime version 0.1.1 Index]