| Functions and CALL Routines |
| Category: | Financial |
| Syntax | |
| Arguments | |
| Details | |
| Examples |
Syntax |
| CONVX(y,f,c(1), ... ,c(k)) |
specifies the effective per-period yield-to-maturity, expressed as a fraction.
| Range: |
![]() |
specifies the frequency of cash flows per period.
| Range: |
![]() |
| Details |
The CONVX function returns the value
![[equation]](images/deqn64.gif)
where
![[equation]](images/deqn65.gif)
| Examples |
data _null_; c=convx(1/20,1,.33,.44,.55,.49,.50,.22,.4,.8,.01,.36,.2,.4); put c; run;
The value returned is 42.3778.
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.