The YTM for the bond index (given that the individual securities’ YTM are known) is calculated using weights that is a product of duration and market cap. I don’t understand why the YTM can be calculated just using the market cap weights.
For example,
weight of bond i = (duration of bond i * market cap of bond i)/Total sum product of market cap and duration of individual bonds.
Can someone please explain the reason behind inclusion of duration in weights?
Thanks.