Symbolic Derivatives for Econometric Tests
by Alan Weiss
02 Nov 2009
(Updated 08 Feb 2010)
Code covered by the BSD License
How to calculate derivatives required by Econometric Toolbox tests via Symbolic Math Toolbox
Download Now
|
Watch this File
|
| File Information |
| Description |
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. |
| Required Products |
Econometrics Toolbox
Symbolic Math Toolbox
|
| MATLAB release |
MATLAB 7.9 (2009b)
|
| Zip File Content |
|
| HTML Files |
Symbolic Derivatives for Econometric Tests
|
| Other Files |
license.txt, symbolic_econometric_tests.m, symbolic_econometric_tests.png, symbolic_econometric_tests_01.png, symbolic_econometric_tests_eq03455.png, symbolic_econometric_tests_eq08934.png, symbolic_econometric_tests_eq24873.png, symbolic_econometric_tests_eq34683.png, symbolic_econometric_tests_eq44020.png, symbolic_econometric_tests_eq45960.png, symbolic_econometric_tests_eq46610.png, symbolic_econometric_tests_eq87016.png, symbolic_econometric_tests_eq87919.png, symbolic_econometric_tests_eq89604.png, symbolic_econometric_tests_eq98545.png
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 24 Nov 2009 |
Changed the copyright notice and added a trademark symbol. |
| 08 Feb 2010 |
Showed how to use Statistics Toolbox to compute the same test. |
| 08 Feb 2010 |
Updated HTML files. |
|
MATLAB Central Terms of Use
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central.
Read the complete Terms prior to use.
Contact us at files@mathworks.com