R/sd.variance.R

Defines functions sd.variance

Documented in sd.variance

sd.variance = function(V) {
  # Calculate the approximate variance of the categorical standard deviation
  # V should be a frequency vector
  var = var(expand(V))
  sd.var = var.variance(V)/(4 * var)
  return(sd.var)
}

Try the agrmt package in your browser

Any scripts or data that you put into this service are public.

agrmt documentation built on Nov. 23, 2023, 1:07 a.m.