powered by
Implements the test for uniform Superior Predictive Ability (uSPA) of Quaedvlieg (2021)
Test_uSPA(LossDiff, L, B = 999)
the T x H matrix forecast path loss differential
the parameter for the moving block bootstrap
integer, the number of bootstrap iterations. Default 999
A list containing two objects:
the p-value for uSPA
the statistics for uSPA
Quaedvlieg, Rogier. "Multi-horizon forecast comparison." Journal of Business & Economic Statistics 39.1 (2021): 40-53.
Test_aSPA
# NOT RUN { ## Test for uSPA data(LossDiff_uSPA) Test_uSPA(LossDiff=LossDiff_uSPA, L=3, B=10) # }
Run the code above in your browser using DataLab