Previous Page | Next Page

Functions and CALL Routines

DURP Function



Returns the modified duration for a periodic cash flow stream, such as a bond.
Category: Financial

Syntax
Arguments
Details
Examples

Syntax

DURP(A,c,n,K,k0,y)


Arguments

A

specifies the par value.

Range: [equation]
c

specifies the nominal per-period coupon rate, expressed as a fraction.

Range: [equation]
n

specifies the number of coupons per period.

Range: [equation] and is an integer
K

specifies the number of remaining coupons.

Range: [equation] and is an integer
k0

specifies the time from the present date to the first coupon date, expressed in terms of the number of periods.

Range: [equation]
y

specifies the nominal per-period yield-to-maturity, expressed as a fraction.

Range: [equation]

Details

The DURP function returns the value

[equation]

where

[equation]

[equation]

[equation]

and where

[equation]


Examples

data _null_;
d=durp(1000,1/100,4,14,.33/2,.10);
put d;
run;

The value returned is 3.26496.

Previous Page | Next Page | Top of Page