Skip to contents

summary method for the class pk.test

Usage

# S4 method for pk.test
summary(object)

Arguments

object

Object of class pk.test

Value

List with the following components:

  • summary_tables Table of computed descriptive statistics per variable.

  • test_results Data frame with the results of the performed Poisson kernel-based test.

  • qqplots Figure with qq-plots for each variable against the uniform distribution.

See also

pk.test() and pk.test for additional details.

Examples

# create a pk.test object
x_sp <- sample_hypersphere(3, n_points=100)
unif_test <- pk.test(x_sp,rho=0.8)
summary(unif_test)
#> 
#>  Poisson Kernel-based quadratic distance test of 
#>                         Uniformity on the Sphere 
#>   Test_Statistics Critical_Value Reject_H0
#> 1       0.2207214       1.722025     FALSE
#> 2      45.0602797      52.230766     FALSE

#> $summary_tables
#>                 V1          V2          V3
#> mean   -0.09616741  0.08709887 -0.01460631
#> sd      0.57359035  0.57642804  0.57585233
#> median -0.17876519  0.20832080 -0.04974959
#> IQR     0.95429937  0.89814932  1.00133903
#> min    -0.99451952 -0.97609712 -0.92478198
#> max     0.94196356  0.98234388  0.93822530
#> 
#> $test_results
#>   Test_Statistics Critical_Value Reject_H0
#> 1       0.2207214       1.722025     FALSE
#> 2      45.0602797      52.230766     FALSE
#> 
#> $qqplots

#>