Generic function to format the results of 'JDemetra+' tests.
Usage
statisticaltest(val, pval, dist = NULL)
# S3 method for class 'JD3_TEST'
print(x, details = FALSE, ...)
Value
c("JD3_TEST", "JD3")
object that is a list of three parameters:
value
the statistical value of the test.pvalue
the p-value of the test.distribution
the statistical distribution used.
Examples
udr_test <- testofupdownruns(random_t(5, 1000))
udr_test # default print
#> Value: -0.02502269
#> P-Value: 0.9800
print(udr_test, details = TRUE) # with the distribution
#> Value: -0.02502269
#> P-Value: 0.9800
#> [ Normal with Mean = 0.0 and Stdev = 1.0 ]