BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.

I want to create/use a function which takes ballon payment in the end period to give EMIs. For example, a loan at 4% annually of 1000 for 12 months with a balloon payment of 100 at the end will have an EMI of 76.97. An equivalent to Excel formula = PMT(RATE,N,PV,[FV],[type]). There is an option in Excel of FV which doesn't seem to be in SAS function PMT.

 

Any help is deeply appreciated.

 

(P.S. - PROC LOAN is not an option as it takes too much time to calculate it for each row)

1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

@thepushkarsingh wrote:

I want to create/use a function which takes ballon payment in the end period to give EMIs. For example, a loan at 4% annually of 1000 for 12 months with a balloon payment of 100 at the end will have an EMI of 76.97. An equivalent to Excel formula = PMT(RATE,N,PV,[FV],[type]). There is an option in Excel of FV which doesn't seem to be in SAS function PMT.

 

Any help is deeply appreciated.

 

(P.S. - PROC LOAN is not an option as it takes too much time to calculate it for each row)


The FINANCE functions PMT and PPMT both have FV as options.

 

FINANCE('PMT', rate, nper, pv, <fv>, <type>); 

FINANCE('PPMT', rate, period, nper, pv, <fv>, <type>); 

View solution in original post

2 REPLIES 2
ballardw
Super User

@thepushkarsingh wrote:

I want to create/use a function which takes ballon payment in the end period to give EMIs. For example, a loan at 4% annually of 1000 for 12 months with a balloon payment of 100 at the end will have an EMI of 76.97. An equivalent to Excel formula = PMT(RATE,N,PV,[FV],[type]). There is an option in Excel of FV which doesn't seem to be in SAS function PMT.

 

Any help is deeply appreciated.

 

(P.S. - PROC LOAN is not an option as it takes too much time to calculate it for each row)


The FINANCE functions PMT and PPMT both have FV as options.

 

FINANCE('PMT', rate, nper, pv, <fv>, <type>); 

FINANCE('PPMT', rate, period, nper, pv, <fv>, <type>); 
thepushkarsingh
Quartz | Level 8
Thank you very much! There's so much to know in SAS.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 733 views
  • 2 likes
  • 2 in conversation