Abstract
Computational differentiation is a means of finding the first, second, and higher order partial derivatives of a function. Computational differentiation eliminates the truncation error of numerical differentiation and reduces the roundoff error that often accompanies numerical differentiation. Computational differentiation provides the accuracy of analytical derivatives but does not require the user to find the analytical expressions. MATLAB is a software package oriented around vector and matrix operations. The latest version of MATLAB provides objects and operator overloading. These two features make it particularly attractive for implementing computational differentiation. A basic library of computational derivative routines is presented as MATLAB M-fils. A nonlinear optimization M-file based on Newton's method is given and applied to logit, probit, and ordered probit models as examples.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.