I considred home losses, wins and draws only. Since the summation for both i and j is over all the indices the away WDLs will be the same as home WDLs for the other side.
Code: Select all
P(WinAtHome) = thetaH * gammaI / (thetaH * gammaI + thetaD * gammaJ)
P(LossAtHome) = gammaJ / (thetaH * thetaD * gammaI + gammaJ)
P(DrawAtHome) = (thetaD^2 - 1) P(WinAtHome) P(LossAtHome)
Code: Select all
L(gamma) = Product( P(WAH) ^nwah * P(LAH) ^ nlah * P(DAH) ^ ndah)
lnL(gamma) = Sum over i,j { (nwah + ndah) P(WAH) + (nlah + ndah) P(LAH) + (ndah) * ln(thetaD^2 - 1) }
thanks.