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

R语言 spdep包 p.adjustSP()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 14:43:07 | 显示全部楼层 |阅读模式
p.adjustSP(spdep)
p.adjustSP()所属R语言包:spdep

                                        Adjust local association measures' p-values
                                         调整地方协会措施的p-值

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

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

Make an adjustment to local association measures' p-values based on the number of neighbours (+1) of each region, rather than the total number of regions.
进行调整局部关联措施的p-值的基础上的邻居的数目(1)的每个区域中,而不是区域的总数。


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


p.adjustSP(p, nb, method = "none")



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

参数:p
vector of p-values
p-值向量


参数:nb
a list of neighbours of class nb
一个类nb的邻居列表


参数:method
correction method as defined in p.adjust: "The adjustment methods include the Bonferroni correction ('"bonferroni"') in which the p-values are multiplied by the number of comparisons.  Four less conservative corrections are also included by Holm (1979) ('"holm"'), Hochberg (1988) ('"hochberg"'), Hommel (1988) ('"hommel"') and Benjamini & Hochberg (1995) ('"fdr"'), respectively. A pass-through option ('"none"') is also included."
在p.adjust:“的调整方法包括Bonferroni校正(”邦弗朗尼“),其中p-值的比较次数乘以所定义的校正方法。还包括四个以下保守的更正霍尔姆(1979)(“霍尔姆”),霍赫贝格(1988)(“霍赫贝格”的),霍梅尔(1988)(“HOMMEL”)和Benjamini&霍赫贝格(1995)(“FDR”)中,分别通过一个传递选项(“无”)也包括在内。“


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

A vector of corrected p-values using only the number of neighbours + 1.
一种向量,校正仅使用的数量的邻居+ 1的p-值。


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


Danlin Yu and Roger Bivand <a href="mailto:Roger.Bivand@nhh.no">Roger.Bivand@nhh.no</a>



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

p.adjust, localG, localmoran
p.adjust,localG,localmoran


实例----------Examples----------


data(afcon)
oid <- order(afcon$id)
resG <- as.vector(localG(afcon$totcon, nb2listw(include.self(paper.nb))))
non <- format.pval(pnorm(2*(abs(resG)), lower.tail=FALSE), 2)
bon <- format.pval(p.adjustSP(pnorm(2*(abs(resG)), lower.tail=FALSE),
paper.nb, "bonferroni"), 2)
tot <- format.pval(p.adjust(pnorm(2*(abs(resG)), lower.tail=FALSE),
"bonferroni", n=length(resG)), 2)
data.frame(resG, non, bon, tot, row.names=afcon$name)[oid,]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-18 04:08 , Processed in 0.021525 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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