楼楼劲劲 发表于 2015-9-4 19:57 
这几天都在恶补Matlab呢,那个程序我已经运行出结果了,结果是能看懂了,不过程序只懂一点点。非常感谢你 ...
楼主的C语言程序就是DP在2006年开发的新统计量的计算程序
详见说明:
/*
* This program calculates p-values for the Hiemstra-Jones statistic
* as well as for the Diks-Panchenko statistic. For details see the
* README file and our paper:
*
* Diks, C. and Panchenko, V. (2006)
* A new statistic and practical guidelines for nonparametric Granger causality
* testing, Journal of Economic Dynamics and Control 30 (9-10), 1647-1669
*
* Cees Diks -- June 2008
*/