找回密码
 注册
查看: 876|回复: 0

R语言 genefilter包 shorth()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-25 18:47:30 | 显示全部楼层 |阅读模式
shorth(genefilter)
shorth()所属R语言包:genefilter

                                        A location estimator based on the shorth
                                         上基于shorth的一个位置估计

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

A location estimator based on the shorth
上基于shorth的一个位置估计


用法----------Usage----------


shorth(x, na.rm=FALSE, tie.action="mean", tie.limit=0.05)



参数----------Arguments----------

参数:x
Numeric
数字


参数:na.rm
Logical. If TRUE, then non-finite (according to is.finite) values in x are ignored. Otherwise, presence of non-finite or NA values will lead to an error message.
逻辑。如果TRUE,然后非有限(根据is.finite)值x被忽略。否则,非有限或NA值的存在,将导致一个错误消息。


参数:tie.action
Character scalar. See details.
字符标。查看详情。


参数:tie.limit
Numeric scalar. See details.
数字标。查看详情。


Details

详情----------Details----------

The shorth is the shortest interval that covers half of the values in x. This function calculates the mean of the x values that lie in the shorth. This was proposed by Andrews (1972) as a  robust estimator of location.
shorth是在最短的时间间隔覆盖x的值的一半。此函数计算平均x值躺在shorth。这是安德鲁斯(1972)提出,作为一个强大的位置估计。

Ties: if there are multiple shortest intervals, the action specified in ties.action is applied. Allowed values are mean (the default), max and min. For mean, the average value is considered; however, an error is generated if the start indices of the different shortest intervals differ by more than the fraction tie.limit of length(x). For min and max, the left-most or right-most, respectively, of the multiple shortest intervals is considered.
关系:如果有多个最短的时间间隔,指定在ties.action行动应用。允许值mean(默认),max和min。 mean,平均值;然而,则会产生一个错误,如果不同的最短时间间隔开始指数分数tie.limitlength(x)不同。 min和max,最左边或最右边,分别多个最短的时间间隔,被认为是。

Rate of convergence: as an estimator of location of a unimodal distribution, under regularity conditions, the quantity computed here has an asymptotic rate of only n^{-1/3} and a complicated limiting distribution.
收敛速度,数量计算位置的单峰分布规律的条件下,估计这里有一个唯一n^{-1/3}和一个复杂的极限分布渐近率。

See half.range.mode for an iterative version that refines the estimate iteratively and has a builtin bootstrapping option.
看到half.range.mode一个迭代版本,细化预算反复,并有一个内置的引导选项。


值----------Value----------

The mean of the x values that lie in the shorth.
平均x值躺在shorth。


作者(S)----------Author(s)----------


Wolfgang Huber <a href="http://www.ebi.ac.uk/huber">http://www.ebi.ac.uk/huber</a>, Ligia Pedroso Bras



参考文献----------References----------

Available at http://lshorth.r-forge.r-project.org/TheShorthPlot.pdf
Princeton University Press (1972).
Statistics 16, 2:619-628 (1988).
estimator of the mode: Comparisons to other robust estimators with applications.&rdquo; Computational Statistics &amp; Data Analysis 50, 3500-3530 (2006).

参见----------See Also----------

half.range.mode
half.range.mode


举例----------Examples----------



  x = c(rnorm(500), runif(500) * 10)
  methods = c("mean", "median", "shorth", "half.range.mode")
  ests = sapply(methods, function(m) get(m)(x))

  if(interactive()) {
    colors = 1:4
    hist(x, 40, col="orange")
    abline(v=ests, col=colors, lwd=3, lty=1:2)
    legend(5, 100, names(ests), col=colors, lwd=3, lty=1:2)
  }

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-2-8 03:44 , Processed in 0.031990 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表