TukeyHSD(stats)
TukeyHSD()所属R语言包:stats
Compute Tukey Honest Significant Differences
计算杜克诚实的显着差异
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Create a set of confidence intervals on the differences between the means of the levels of a factor with the specified family-wise probability of coverage. The intervals are based on the Studentized range statistic, Tukey's "Honest Significant Difference" method. There is a plot method.
指定的家庭明智的覆盖概率的一个因素水平的手段之间的差异,建立一套置信区间。的时间间隔是基于学生化范围统计,Tukey的“诚实的显着差异的方法。有plot方法。
用法----------Usage----------
TukeyHSD(x, which, ordered = FALSE, conf.level = 0.95, ...)
参数----------Arguments----------
参数:x
A fitted model object, usually an aov fit.
拟合模型对象,通常是aov合适。
参数:which
A character vector listing terms in the fitted model for which the intervals should be calculated. Defaults to all the terms.
一个字符向量的时间间隔应计算在拟合模型的上市条件。默认的所有条款。
参数:ordered
A logical value indicating if the levels of the factor should be ordered according to increasing average in the sample before taking differences. If ordered is true then the calculated differences in the means will all be positive. The significant differences will be those for which the lwr end point is positive.
一个逻辑值,指示因子的水平,如果应责令样品中平均增加前分歧。 ordered如果是真实的,那么计算手段差异都将是积极的。显着性差异将是那些lwr终点是积极的。
参数:conf.level
A numeric value between zero and one giving the family-wise confidence level to use.
给家庭使用明智的信心水平的零和一之间的一个数值。
参数:...
Optional additional arguments. None are used at present.
可选的附加参数。目前没有使用。
Details
详情----------Details----------
When comparing the means for the levels of a factor in an analysis of variance, a simple comparison using t-tests will inflate the probability of declaring a significant difference when it is not in fact present. This because the intervals are calculated with a given coverage probability for each interval but the interpretation of the coverage is usually with respect to the entire family of intervals.
当比较方差分析的一个因素水平的手段,一个简单的比较采用t检验膨胀宣布一个重要的区别时,是不是在事实上目前的概率。这是因为计算的时间间隔与每个区间的覆盖概率,但覆盖的解释通常是相对于整个家庭的间隔。
John Tukey introduced intervals based on the range of the sample means rather than the individual differences. The intervals returned by this function are based on this Studentized range statistics.
约翰·杜克介绍,样本范围的基础上的间隔,而不是指的个体差异。这个函数返回的时间间隔是基于这个学生化的范围统计。
Technically the intervals constructed in this way would only apply to balanced designs where there are the same number of observations made at each level of the factor. This function incorporates an adjustment for sample size that produces sensible intervals for mildly unbalanced designs.
从技术上讲,这种方式建造的时间间隔,只适用于平衡的设计,其中有相同数量的每个因子的水平提出的意见。此功能结合产生轻度不平衡设计的合理区间的样本大小的调整。
If which specifies non-factor terms these will be dropped with a warning: if no terms are left this is a an error.
如果which指定非要素方面,这些将下降警告:如果没有条件离开,这是一个错误。
值----------Value----------
A list with one component for each term requested in which. Each component is a matrix with columns diff giving the difference in the observed means, lwr giving the lower end point of the interval, upr giving the upper end point and p adj giving the p-value after adjustment for the multiple comparisons.
在which要求每学期的一个组成部分名单。每个组件是一个列矩阵diff在观测手段的差异,lwr间隔低端点,upr上的终点和p adj提供多重比较调整后的P-值。
作者(S)----------Author(s)----------
Douglas Bates
参考文献----------References----------
Simultaneous Statistical Inference. Springer.
Practical Data Analysis for Designed Experiments. Chapman & Hall.
参见----------See Also----------
aov, qtukey, model.tables, glht in package multcomp.
aov,qtukey,model.tables,glht在包multcomp。
举例----------Examples----------
require(graphics)
summary(fm1 <- aov(breaks ~ wool + tension, data = warpbreaks))
TukeyHSD(fm1, "tension", ordered = TRUE)
plot(TukeyHSD(fm1, "tension"))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|