Description Usage Arguments Value Author(s) Source References Examples
SiegelTukey
returns the annual mean of the absolute
day-to-day differences of the diurnal temperature range (SiegelTukey).
1 2 3 |
x |
vector of data |
y |
Data of the second group (if id.col=FALSE) or group indicator (if id.col=TRUE). In the latter case, y MUST take 1 or 2 to indicate observations of group 1 and 2, respectively, and x must contain the data for both groups. |
id.col |
If FALSE (default), then x and y are the data columns for group 1 and 2, respectively. If TRUE, the y is the group indicator. |
adjust.median |
Should between-group differences in medians be leveled before performing the test? In certain cases, the Siegel-Tukey test is susceptible to median differences and may indicate significant differences in variability that, in reality, stem from differences in medians. |
rnd |
Should the data be rounded and, if so, to which decimal? The default (-1) uses the data as is. Otherwise, rnd must be a non-negative integer. Typically, this option is not needed. However, occasionally, differences in the precision with which certain functions return values cause the merging of two data frames to fail within the SiegelTukey function. Only then rounding is necessary. This operation should not be performed if it affects the ranks of observations. |
alternative |
"one.sided" or "two.sided". |
mu |
mu. |
paired |
Logical, TRUE=paired, FALSE=not paired. |
exact |
Logical, TRUE=paired, FALSE=. |
correct |
Logical, TRUE=paired, FALSE=. |
conf.int |
Confidence interval. |
conf.level |
Confidence level. |
showresult |
Logical, show the result or not. |
returnresult |
Logical, return the result or not. |
groupmedian1 |
Group median 1 |
groupmedian2 |
Group median 2 |
testmediandifferences |
Wilcoxon-test for between-group differences in median (after the median adjustment if specified) |
wilcox.test.p.value |
Wilcoxon-test for between-group differences in median (after the median adjustment if specified) |
wilcox.test.null.value |
Wilcoxon-test for between-group differences in median (after the median adjustment if specified) |
unique.x.tieadjusted.rank |
Unique values of x and their tie-adjusted Siegel-Tukey ranks |
tieadjusted.ranks.group1 |
Tie-adjusted Siegel-Tukey ranks of group 1 |
tieadjusted.ranks.group2 |
Tie-adjusted Siegel-Tukey ranks of group 2 |
wilcoxon.W |
Wilcoxon-test for between-group differences in median (after the median adjustment if specified) |
wilcoxon.p.value |
Wilcoxon-test for between-group differences in median (after the median adjustment if specified) |
Daniel Malter
Daniel Malter, 2012 https://stat.ethz.ch/pipermail/r-help/2010-February/229215.html
Sidney Siegel and John Wilder Tukey, 1960 A nonparametric sum of ranks procedure for relative spread in unpaired samples. Journal of the American Statistical Association.
David J. Sheskin, 2004 Handbook of parametric and nonparametric statistical procedures. 3rd edition. Chapman and Hall/CRC. Boca Raton, FL.
Richard H. McCuen, 2002 Modeling Hydrologic Change: Statistical Methods CRC Press
1 2 3 | x=c(4,4,5,5,6,6)
y=c(0,0,1,9,10,10)
SiegelTukey(x,y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.