Glance accepts an object of type adk and returns a tibble::tibble() with one row of summaries.

Glance does not do any calculations: it just gathers the results in a tibble.

# S3 method for adk
glance(x, ...)

Arguments

x

an adk object

...

Additional arguments. Not used. Included only to match generic signature.

Value

A one-row tibble::tibble() with the following columns:

  • alpha the significance level for the test

  • n the sample size for the test

  • k the number of samples

  • sigma the computed standard deviation of the test statistic

  • ad the test statistic

  • p the p-value of the test

  • reject_same_dist whether the test concludes that the samples are drawn from different populations

See also

Examples

x <- c(rnorm(20, 100, 5), rnorm(20, 105, 6)) k <- c(rep(1, 20), rep(2, 20)) a <- ad_ksample(x = x, groups = k) glance(a)
#> # A tibble: 1 x 7 #> alpha n k sigma ad p reject_same_dist #> <dbl> <int> <int> <dbl> <dbl> <dbl> <lgl> #> 1 0.025 40 2 0.727 2.58 0.0413 FALSE
## A tibble: 1 x 7 ## alpha n k sigma ad p reject_same_dist ## <dbl> <int> <int> <dbl> <dbl> <dbl> <lgl> ## 1 0.025 40 2 0.727 4.37 0.00487 TRUE