| print.cspa_test | R Documentation |
Displays a formatted summary of the CSPA test output, including the test statistic (theta), p-value, decision, and key estimation details.
## S3 method for class 'cspa_test'
print(x, digits = 4, ...)
x |
An object of class |
digits |
Integer; number of decimal places for numeric output.
Default |
... |
Additional arguments (currently ignored). |
Invisibly returns x.
sim <- do_sim(J = 3, n = 250, a = 1, c = 0, rho_u = 0.4)
result <- cspa_test(sim$Y, sim$X, level = 0.05, trim = 2, R = 500L)
print(result)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.