Get startedGet started for free

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.

This exercise is part of the course

Bond Valuation and Analysis in R

View Course

Exercise instructions

  • Estimate percentage change (convexity_pct_change) based on convexity if yields decrease by 1%.
  • Estimate dollar change (convexity_dollar_change) based on convexity if yields decrease by 1%.

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Estimate percentage change
convexity_pct_change <- 0.5 * ___ * (___)^2
convexity_pct_change

# Estimate dollar change
convexity_dollar_change <- ___ * ___
convexity_dollar_change
Edit and Run Code