FINANCE INTRATE Function
Computes the interest rate for a fully invested security.
| Category: | Financial |
|---|
Syntax
Arguments
settlement
specifies the settlement date.
maturity
specifies the maturity date.
investment
specifies the amount that is invested in the security.
redemption
specifies the amount to be received at maturity.
basis
specifies the optional day count value.
Example: Computing Description: DISC
The following example computes the discount rate for a security.
data _null_;
settlement=mdy(1, 25, 2007);
maturity=mdy(6, 15, 2007);
investment=97.975;
redemption=100;
basis=1;
r=finance('intrate', settlement, maturity, investment, redemption, basis);
put r=;
run;
These statements produce this result:
r=0.0535036619
Last updated: September 14, 2026