|
Algorithm for the fitting of the parameters
|
| 1: Inititialize α(0), β(0)
|
| 2: for
l = 1 to L
do
|
| 3: for
k = 1 to K
do
|
| 4:
|
| 5:
|
| 6: end for
|
| 7: for
i = 1 to I
do
|
| 8:
|
| 9: end for
|
| 10: α(0) = α(1); β(0) = β(1)
|
| 11: end for
|
| 12: for
k = 1 to K
do
|
| 13: if
bk < 0 then
|
| 14:
|
| 15: end if
|
| 16: end for
|
| 17: for
i = 1 to I
do
|
| 18:
|
| 19: end for
|
|