Statistical programming, matrix languages, and more

SAS IML NLPNRA rountine

Reply
Contributor
Posts: 44

SAS IML NLPNRA rountine

When using Newton Raphson algo, we better provide first derivative to the routine. However, I can only provide some of the analytical formula for the derivatives and I want to approximate other derivatives by finite difference. Is this possible for NLPNRA routine?

SAS Super FREQ
Posts: 3,416

Re: SAS IML NLPNRA rountine

Provide the analytical formulas that you have, and call the NLPFDD function to get the others.

See http://blogs.sas.com/content/iml/2011/10/14/hints-for-derivatives/

Ask a Question
Discussion stats
  • 1 reply
  • 246 views
  • 0 likes
  • 2 in conversation