BookmarkSubscribeRSS Feed
Hanyu
Obsidian | Level 7

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?

1 REPLY 1
Rick_SAS
SAS Super FREQ

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/

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

Explore Now →
From The DO Loop
Want more? Visit our blog for more articles like these.
Discussion stats
  • 1 reply
  • 1872 views
  • 0 likes
  • 2 in conversation