EconPapers    
Economics at your fingertips  
 

COSPECTDENS: Stata module to compute cross spectra

Huseyin Tastan

Statistical Software Components from Boston College Department of Economics

Abstract: cospectdens estimates several quantities commonly used in bivariate spectral analysis such as cospectrum, coherency-squared, phase spectrum and gain spectrum. varlist accepts two time series: the first variable is treated as the output variable (y), and the second variable is treated as the input variable (x). Smoothing is directly applied to individual periodogram and cross-periodogram obtained from the FFT of variables. Endpoints are adjusted cyclically in the central moving average smoothing. Users may supply their weights as an option or choose one of the weighting schemes. Current version does not apply tapering. This command only graphs the coherency-squared which may be interpreted as the frequency-domain counterpart of the correlation coefficient. To graph other measures users may request them to be saved in an output file.

Language: Stata
Requires: Stata version 12
Keywords: spectral analysis; cross-spectrum; periodogram; FFT; coherency; phase spectrum (search for similar items in EconPapers)
Date: 2016-04-10, Revised 2016-05-31
Note: This module should be installed from within Stata by typing "ssc install cospectdens". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations:

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/c/cospectdens.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/c/cospectdens.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/s/cospectdens_demo1.do sample file (text/plain)
Our link check indicates that this URL is bad, the error code is: 404 Not Found
http://fmwww.bc.edu/repec/bocode/s/cospectdens_demo2.do sample file (text/plain)
Our link check indicates that this URL is bad, the error code is: 404 Not Found

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

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s458168

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 Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

 
Page updated 2024-11-06
Handle: RePEc:boc:bocode:s458168