EconPapers    
Economics at your fingertips  
 

QSTAT2: MATLAB function to compute Ljung-Box Q statistic

Christopher Baum ()

Statistical Software Components from Boston College Department of Economics

Abstract: This MATLAB function computes the Ljung-Box 'Q' statistic, or portmanteau test, for autocorrelation in a timeseries. It is often applied to regression residuals as a diagnostic. The calling program specifies one or more lag lengths. QSTAT2 returns one or more test statistics and associated P-values. Various utility routines from Jim LeSage's Econometrics Toolbox (q.v.) are required. Also see Kanzler's QSTAT on this archive.

Language: MATLAB
Requires: MATLAB Release 5
Date: 1999-06-15

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/q/qstat2.m program file (text/plain)
http://fmwww.bc.edu/repec/bocode/q/qstat2_d.m demo file (text/plain)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php

Access Statistics for this software item

More software in Statistical Software Components from Boston College Department of Economics
Address: Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA
Contact information at EDIRC.
Series data maintained by Christopher F Baum ().

 
Page updated 2008-09-06
Handle: RePEc:boc:bocode:t961403