Symbolic Derivatives for Econometric Tests

版本 1.4.0.1 (34.8 KB) 作者: Alan Weiss
How to calculate derivatives required by Econometric Toolbox tests via Symbolic Math Toolbox
1.3K 次下载
更新时间 2016/9/1

查看许可证

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.

引用格式

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

MATLAB 版本兼容性
创建方式 R2009b
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
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