Description Usage Arguments Value
Performs the update from function EM_step_step n times. A threshold is defined such that the function will break if the change in lambda is smaller than the threshold value.
1 | EM(W,nsteps,a,b,eps)
|
W |
(KxK) matrix where the (i,j) element is number of matches player i has beaten player j. |
nsteps |
number of iterations. |
a |
shape parameter for Gamma prior. |
b |
rate parameter for Gamma prior. |
eps |
threshold for change in lambda. |
The final estimates of lambdas.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.