Tukey(stats)
Tukey()所属R语言包:stats
The Studentized Range Distribution
学生化的范围分布
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Functions of the distribution of the studentized range, R/s, where R is the range of a standard normal sample and df*s^2 is independently distributed as chi-squared with df degrees of freedom, see pchisq.
职能的学生化范围内的分布,R/s,其中R是一个标准的正常样本的范围和df*s^2独立df度卡方分布自由,看到pchisq。
用法----------Usage----------
ptukey(q, nmeans, df, nranges = 1, lower.tail = TRUE, log.p = FALSE)
qtukey(p, nmeans, df, nranges = 1, lower.tail = TRUE, log.p = FALSE)
参数----------Arguments----------
参数:q
vector of quantiles.
位数的向量。
参数:p
vector of probabilities.
概率向量。
参数:nmeans
sample size for range (same for each group).
(每组相同)样本大小的范围。
参数:df
degrees of freedom for s (see below).
s(见下文)的自由程度。
参数:nranges
number of groups whose maximum range is considered.
被视为群体,其最大射程。
参数:log.p
logical; if TRUE, probabilities p are given as log(p).
逻辑;如果为TRUE,概率P日志(P)。
参数:lower.tail
logical; if TRUE (default), probabilities are P[X ≤ x], otherwise, P[X > x].
逻辑;如果是TRUE(默认),概率P[X ≤ x],否则,“P[X > x]。
Details
详情----------Details----------
If ng =nranges is greater than one, R is the maximum of ng groups of nmeans observations each.
如果ng = nranges大于一,R是ngnmeans每个观察组的最大值。
值----------Value----------
ptukey gives the distribution function and qtukey its inverse, the quantile function.
ptukey给的分布函数和qtukey它的逆,位数功能。
注意----------Note----------
A Legendre 16-point formula is used for the integral of ptukey. The computations are relatively expensive, especially for qtukey which uses a simple secant method for finding the inverse of ptukey. qtukey will be accurate to the 4th decimal place.
一个16点的Legendre公式用于ptukey积分。计算相对昂贵,尤其是qtukey使用简单的找到ptukey的逆割线法。 qtukey将精确到小数点第四位。
参考文献----------References----------
Multiple comparisons of simple effects in the two-way analysis of variance with fixed effects. Journal of Statistical Computation and Simulation, 30, 1–15.
参见----------See Also----------
Distributions for standard distributions, including pnorm and qnorm for the corresponding functions for the normal distribution.
分布为标准的分布,包括pnorm和qnorm正态分布相应的功能。
举例----------Examples----------
if(interactive())
curve(ptukey(x, nm=6, df=5), from=-1, to=8, n=101)
(ptt <- ptukey(0:10, 2, df= 5))
(qtt <- qtukey(.95, 2, df= 2:11))
## The precision may be not much more than about 8 digits:[#精度可能比约8位数:]
summary(abs(.95 - ptukey(qtt,2, df = 2:11)))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|