Description Usage Arguments Value Examples
View source: R/data.scale.xy.R
Data transformation for testing equality of variability measures (mean absolute deviation from median or variance).
1 2 3 | data.scale.xy(x, y, scale.option = c("Levene.Med.0", "Levene.Med",
"Levene.Med.00", "Variance"), scale.adj = TRUE, scale.00 = 2,
paired = FALSE)
|
x |
A vector specifying the first sample. |
y |
A vector specifying the second sample. |
scale.option |
A character string specifying the transformation on each observation; "Levene.med" for Levene's transformation (absolute difference from the sample median), "Levene.med.0" for Levene's transformation with zero removal for odd sample(s), "Levene.med.00" for Levene's transformation with zero removal for both odd and even sample(s), and "Variance" for squared difference from the sample mean. The default option is "Levene.med.0". |
scale.adj |
A boolean specifying whether or not any constant should be multiplied to each transformed observation. This is useful to obtain unbiased estimates. The default option is TRUE. |
scale.00 |
A scale to be applied for an even sample when "Levene.med.00" is chosen. The default option is 2, but the square root of 2 is another viable option. |
paired |
A boolean specifying whether or not the samples are paired or independent. The default option is FALSE. |
trans.x |
Transformed first sample. |
trans.y |
Transformed second sample. |
rho |
Sample correlation coefficient. For independent samples, it returns a NULL. |
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.