Skip to contents

summary method for the class kb.test

Usage

# S4 method for class 'kb.test'
summary(object)

Arguments

object

Object of class kb.test

Value

List with the following components:

  • summary_tables Table of computed descriptive statistics per variable (and per group if available).

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

  • qqplots Figure with qq-plots for each variable.

See also

kb.test() and kb.test for more details.

Examples

# create a kb.test object
x <- matrix(rnorm(100),ncol=2)
# Normality test
my_test <- kb.test(x, h=0.5)
summary(my_test)

#> 
#>  Kernel-based quadratic distance Normality test 
#>   Statistic      Value Critical_Value Reject_H0
#> 1        Un -0.2702719       1.666475     FALSE
#> 2        Vn  0.5285217       6.071062     FALSE
#> $summary_tables
#>                V1          V2
#> mean    0.0927344 -0.02174301
#> sd      1.2331238  1.08846700
#> median  0.1314021  0.15239639
#> IQR     1.4246541  1.49463599
#> min    -4.1186545 -2.48467830
#> max     3.5340310  2.55373421
#> 
#> $test_results
#>   Statistic      Value Critical_Value Reject_H0
#> 1        Un -0.2702719       1.666475     FALSE
#> 2        Vn  0.5285217       6.071062     FALSE
#> 
#> $qqplots

#>