Learn R Programming

bondAnalyst (version 1.0.1)

approxMacDurationUsingApprModifDuration: Calculates the Approximated Macaulay duration using the Approximate Modified Duration and Yield-To-Maturity.

Description

Calculates the Approximated Macaulay duration using the Approximate Modified Duration and Yield-To-Maturity.

Usage

approxMacDurationUsingApprModifDuration(approxModifDuration, periodicYtm)

Value

Input values to two arguments approxModifDuration and periodicYtm.

Arguments

approxModifDuration

A number.

periodicYtm

A number.

Author

MaheshP Kumar, maheshparamjitkumar@gmail.com

Details

According to information provided by Adams and Smith (2019), the method approxMacDurationUsingApprModifDuration() is developed to calculate the Approximated Macaulay duration using the Approximate Modified Duration and Yield-To-Maturity.

References

Adams,J.F. & Smith,D.J.(2019). Understanding Fixed‑Income Risk and Return. In CFA Program Curriculum 2020 Level I Volumes 1-6. (Vol. 5, pp. 237-299). Wiley Professional Development (P&T). ISBN 9781119593577, https://bookshelf.vitalsource.com/books/9781119593577

Examples

Run this code
approxMacDurationUsingApprModifDuration(approxModifDuration=13.466,periodicYtm=0.0257)

Run the code above in your browser using DataLab