Test against a specific distribution

ks_test(
  x,
  cdf,
  ci = 0.05,
  min_quantile = 0.015,
  max_quantile = 0.985,
  k = 1000,
  plot = FALSE
)

Arguments

x

a vector.

cdf

a function. The theoric distribution to use for comparison.

ci

p.value for rejection.

min_quantile

minimum quantile for the grid of values.

max_quantile

maximum quantile for the grid of values.

k

finite value for approximation of infinite sum.

plot

when TRUE a plot is returned, otherwise a tibble.

seed

random seed for two sample test.

Value

when plot = TRUE a plot is returned, otherwise a tibble.