EconPapers    
Economics at your fingertips  
 

NHARVEY: Stata module to perform Nyblom-Harvey panel test of common stochastic trends

Christopher Baum () and Fabian Bornhorst ()

Statistical Software Components from Boston College Department of Economics

Abstract: nharvey estimates one form of the test of common stochastic trends developed by Nyblom and Harvey (NH, 2000). The test is of the validity of a specified value of the rank of the covariance matrix of the disturbances driving the multivariate random walk. This rank is equal to the number of common trends, or levels, in the series. As NH show, "this test is very simple insofar as it does not require any models to be estimated, even if serial correlation is present." (p.176) The special case calculated by nharvey is that of the rank (K in NH' terms) equalling zero, which may be taken as a test that there are no common trends among the variables. NH state that "common trends imply cointegration, and vice versa." Thus a failure to reject the null hypothesis of zero common trends is also an indication that the variables do not form a cointegrated combination. The test may be considered as a generalization of the Nyblom and Makelainen (1983) and Kwiatkowski et al. (1992, kpss) univariate tests for stationarity of a series. Those tests are of the null hypothesis that the series is stationary, or stationary around a deterministic trend, against the alternative that a random walk component is present. nharvey considers the same structure in the context of multiple time series.

Language: Stata
Requires: Stata version 7.0
Keywords: panel data; stationarity; common trends (search for similar items in EconPapers)
Date: 2001-07-17, Revised 2007-10-31
Note: This module may be installed from within Stata by typing "ssc install nharvey". 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: Track citations by RSS feed

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/n/nharvey.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/n/nharvey.hlp help file (text/plain)

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:s419703

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 2020-04-05
Handle: RePEc:boc:bocode:s419703