WESTCHOTEST - Robust serial correlation test

Use this forum to post complete RATS "procedures". Please be sure to include instructions on using the procedure and detailed references where applicable.

WESTCHOTEST - Robust serial correlation test

Postby TomDoan » Mon May 07, 2012 4:43 pm

This computes the modified Ljung-Box test, robust to heteroscedasticity, proposed in West and Cho(1995), "The predictive ability of several models of exchange rate volatility," Journal of Econometrics, vol. 69, no 2, 367-391. (Note that this test is not the main point of the paper).

westchotest.src
Procedure file (requires RATS 7.3)
(2.75 KiB) Downloaded 110 times

@WestChoTest( options ) series start end

Options

NUMBER=# of lags to use [roughly 2 sqrt(# of observations]
DFC=degrees of freedom correction for Q [0]
[PRINT]/NOPRINT
TITLE=title for test output ["West-Cho Test for Series xxxx"]

Variables Defined

%NOBS number of observations
%CDSTAT test statistic
%QSTAT test statistic
%SIGNIF marginal significance level of Q-statistic
%QSIGNIF marginal significance level of Q-statistic
%NDFQ degrees of freedom for the test statistic
TomDoan
 
Posts: 2720
Joined: Wed Nov 01, 2006 5:36 pm

Return to RATS Procedures

Who is online

Users browsing this forum: No registered users and 1 guest