Estimating effect of convexity on bond price
Now that you've calculated convexity for your bond, you can estimate the effect of convexity on the bond's price.
Specifically, recall from the video that the percentage change based on convexity is given by
$$0.5 * convexity * (\Delta y)^2$$
where \(\Delta y\) is the expected change in yield. The dollar change based on convexity is equal to the percentage change multiplied by the current price \(P\).
For this exercise, assume that yields are expected to decline by 1%.
The convexity
object, which you calculated in the previous exercise as 116.521, and the px
object, which is the price of the bond of $100, have been preloaded in your workspace.
Este ejercicio forma parte del curso
Bond Valuation and Analysis in R
Instrucciones del ejercicio
- Estimate percentage change (
convexity_pct_change
) based onconvexity
if yields decrease by 1%. - Estimate dollar change (
convexity_dollar_change
) based onconvexity
if yields decrease by 1%.
Ejercicio interactivo práctico
Prueba este ejercicio y completa el código de muestra.
# Estimate percentage change
convexity_pct_change <- 0.5 * ___ * (___)^2
convexity_pct_change
# Estimate dollar change
convexity_dollar_change <- ___ * ___
convexity_dollar_change