How is the key rate duration of an MBS calculated?
The key rate duration of an MBS is calculated by taking the weighted average of the time until each cash flow is received, with the weights being the present value of each cash flow.