For the details on how this is computed, see Singh et. al, section 3.2.