I don’t understand how you have a little i subscript outside of summation on the RHS when there is no free index on the LHS. Are you sure this formula is correct?

If you look at the source (page 120), LHS does not have the subscript i neither. I think it is because it is not simply a sum of the individual years? I assume you are talking about the Ri?