Estimating effect on bond price using duration
When we know a bond's duration, we can come up with an estimate of the bond's price assuming some expected change in yield.
In this exercise, assume yields are expected to decrease by 1%, what is the estimated percentage change in price and dollar change in price due to duration. The object px, which denotes the price of this bond, is $100 and the bond's duration is 8.545937. To calculate the percentage change using duration, recall the formula: $$-D * \Delta y$$
where \(D\) is the duration and \(\Delta y\) is the change in yield.
To calculate the dollar change using duration, recall that you multiply the percentage change by the current price. The px object and duration object generated in the previous exercise have been preloaded in your workspace.
Diese Übung ist Teil des Kurses
Bond Valuation and Analysis in R
Anleitung zur Übung
- Estimate percentage change (
duration_pct_change) based ondurationif yields are expected to decrease by 1%. - Estimate dollar change (
duration_dollar_change) based onduration_pct_changeandpxif yields are expected to decrease by 1%.
Interaktive Übung
Vervollständige den Beispielcode, um diese Übung erfolgreich abzuschließen.
# Estimate percentage change
duration_pct_change <-
duration_pct_change
# Estimate dollar change
duration_dollar_change <-
duration_dollar_change