SAS Programming

DATA Step, Macro, Functions and more
BookmarkSubscribeRSS Feed
dowian2
Calcite | Level 5
I'm trying to calculate the interest rate of an annuity with a final payment. I have the present value, the payment amount, the final payment amount, and the number of payments. I've discovered the "MORT" and "COMPOUND" functions, but is there anything that combines these?

Thanks!
2 REPLIES 2
ArtC
Rhodochrosite | Level 12
I am not much of a finance guy and these simple functions have always been sufficient for me. What is it thay they do not do for you? Have you examined the other functions in the Financial category? There are close to two dozen, perhaps one of those would be closer to your needs.
dowian2
Calcite | Level 5
Basically, I'm trying to combine the "RATE" and "PV" features of the FINANCE function.

According to what I've found,

r = finance('pv', rate, nper, pmt, fv, type);

will solve for the present value of a stream of payments with a future value "fv".
I've also found this:

r = finance('rate', nper, pmt, pv);

which solves for the interest rate of a stream of payments, but it doesn't have a spot for "fv".



All of that said, I'm using SAS 9.1, which doesn't have the FINANCE function, so this may all be a moot point.

Thanks!

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 2551 views
  • 0 likes
  • 2 in conversation