asymptotic_test function

Asymptotic test for the equality of coefficients of variation from k populations, using measurement data

Asymptotic test for the equality of coefficients of variation from k populations, using measurement data

Test for k samples (k sample populations with unequal sized) from Feltz CJ, Miller GE (1996) An asymptotic test for the equality of coefficients of variation from k population. Stat Med 15:647–658

asymptotic_test(x, y, seed)

Arguments

  • x: a numeric vector containing individual measurement values
  • y: a vector of any type containing a grouping variable
  • seed: optional, an integer that is the starting point used in the generation of a sequence of random numbers. Include a seed if you want reproducible output.

Returns

a list with the test statistic and p-value

Examples

y <- unlist(lapply(letters[1:5], function(i) rep(i, 20))) x <- rnorm(100) asymptotic_test(x, y)
  • Maintainer: Ben Marwick
  • License: MIT + file LICENSE
  • Last published: 2019-01-07