Learn R Programming

SAGx (version 1.46.0)

rsd.test: Compare two groups with respect to their RSD (CV)

Description

A by row comparison of the Relative Standard Deviation (RSD), asa Coefficient of Variation (CV), is done using a bootstrap

Usage

rsd.test(data1 = x, data2= y, B = NULL)

Arguments

data1
A matrix with the samples for group 1 in columns.
data2
A matrix with the samples for group 2 in columns.
B
the number of bootstrap iterations. If NULL no bootstrap is performed.

Value

  • A list with the components
  • cv1A vector of the RSD's for sample 1
  • cv2A vector of the RSD's for sample 2
  • t.statthe test statistic
  • p.valsA vector of p-values for the comparison between $cv1$ and $cv2$

References

Broberg P, Estimation of Relative Standard Deviation,(1999) in Drug Development and Industrial Pharmacy, Vol 25 no 1 37-43