Symbolic Derivatives for Econometric Tests

How to calculate derivatives required by Econometric Toolbox tests via Symbolic Math Toolbox
1,3K descargas
Actualizado 1 sep 2016

Ver licencia

Two Econometrics Toolbox functions, lmtest and waldtest, require you to give derivative estimates or covariance estimates as inputs. How are you supposed to calculate those inputs? This demo shows how to calculate them using the Symbolic Math Toolbox jacobian function for gradients and covariances (via Hessians), and matlabFunction for turning those gradients and covariances into function handles or files.
The demo is similar in some ways to those showing how to use symbolic functions for optimization. The difference is largely that econometrics uses data. The demo shows how to use data as an input for econometrics functions symbolically.

Citar como

Alan Weiss (2024). Symbolic Derivatives for Econometric Tests (https://www.mathworks.com/matlabcentral/fileexchange/25715-symbolic-derivatives-for-econometric-tests), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2009b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versión Publicado Notas de la versión
1.4.0.1

Updated license

1.4.0.0

Converted to a Toolbox, to enable easy installation in R2014b and later.

1.3.0.0

Updated HTML files.

1.2.0.0

Showed how to use Statistics Toolbox to compute the same test.

1.1.0.0

Changed the copyright notice and added a trademark symbol.

1.0.0.0