Nonlinear Threshold Tests

版本 1.0 (7.8 KB) 作者: Alexander
Implements a Wald-like test for a nonlinear threshold model.
170.0 次下载
更新时间 2015/12/2

查看许可证

Implements a Wald-type test for the threshold model
y=x*b+1(x>delta)*x*b+u

when the nuisance parameter (delta) is not identified under the nil. It can even be unknown in value. For a technical discussion compare Hansen (1996) "Inference when a nuisance parameter is not identified under the null hypothesis". Dentler, Rojas and Olmo (2014) "Endogeneity in threshold nonlinearity tests" discuss that under mild conditions the Wald test is valid even when x and u are correlated (x is endogenous).

The routine effectively reports the p-values for a conventional test of significance using a mean, sup and exponential average a la Andrews and Ploberger (1994) "Optimal Tests when a Nuisance Paramtere is Present Only under the Alternative".

The routine also encompasses a model of the form

y=x*beta1+1(x>delta)*x*beta2+w*gamma1+1(x>delta)*x*gamma2+u

For an example see help

引用格式

Alexander (2024). Nonlinear Threshold Tests (https://www.mathworks.com/matlabcentral/fileexchange/54284-nonlinear-threshold-tests), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2014b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Calculus 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0