vrtest (version 0.97)

Panel.VR: Panel Variance Ratio Tests

Description

Panel variance tatio tests based on Maximum Absloute Value, Sum of Squares, and Mean of each cross-sectional units

Usage

Panel.VR(dat, nboot = 500)

Arguments

dat
a T by K matrix of asset returns, K is the munber of cross sectional units and T is length of time series
nboot
the number of wild bootstrap iterations, the default is set to 500

Value

  • MaxAbs.statthe statistic based on the maximum absolute value of individual statistics
  • SumSquare.statthe statistic based on the sum of squared value of individual statistics
  • Mean.statthe statistic based on the mean value of individual statistics
  • MaxAbs.pvalthe wild bootstrap pvalue based on the maximum absolute value of individual statistics
  • SumSquare.pvalthe wild bootstrap pvalue based on the sum of squared value of individual statistics
  • Mean.pvalthe wild bootstrap pvalue based on the mean value of individual statistics

Details

The component statistics are based on the automatic variance ratio test The set of returns are wild bootstrapped to conserve cross-sectional dependency

References

Kim, Jae H. and Shamsuddin, Abul, A Closer Look at Return Predictability of the US Stock Market: Evidence from a Panel Variance Ratio Test (February 13, 2013). Available at SSRN: http://ssrn.com/abstract=2217248 or http://dx.doi.org/10.2139/ssrn.2217248

Examples

Run this code
ret=matrix(rnorm(200),nrow=100)
Panel.VR(ret)

Run the code above in your browser using DataLab