Description Usage Arguments Value
One step of EM algorithm
1 | EM_step(lambda,W,a,b,K,n)
|
lambda |
current values for the estimates of lambda. |
W |
(KxK) matrix where the (i,j) element is number of matches player i has beaten player j. |
a |
shape parameter for Gamma prior. |
b |
rate parameter for Gamma prior. |
K |
number of players. |
n |
W + t(W) - (i,j) element is total number of times player i has played player j. |
Updated estimate of lambdas.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.