View source: R/tests_regular.R
statisticaltest | R Documentation |
Generic function to format the results of 'JDemetra+' tests.
statisticaltest(val, pval, dist = NULL)
## S3 method for class 'JD3_TEST'
print(x, details = FALSE, ...)
val , pval , dist |
statistical parameters. |
x |
the object to print. |
details |
boolean indicating if the statistical distribution should be printed. |
... |
further arguments (ignored). |
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.
udr_test <- testofupdownruns(random_t(5, 1000))
udr_test # default print
print(udr_test, details = TRUE) # with the distribution
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.