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

R语言 spdep包 sp.mantel.mc()函数中文帮助文档(中英文对照)

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

                                        Mantel-Hubert spatial general cross product statistic
                                         曼特尔-Hubert的空间一般的交叉产品统计

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

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

A permutation test for the spatial general cross product statistic with Moran (C(i,j) = z(i)*z(j)), Geary  (C(i,j) = (z(i) - z(j))^2), and Sokal  (C(i,j) = |z(i) - z(j)|) criteria, for z(i) = (x(i) - mean(x))/sd(x). plot.mc.sim is a helper function to plot the outcomes of the permutation test.
置换试验的空间统计与一般的交叉产品莫兰(C(i,j) = z(i)*z(j)),基尔(C(i,j) = (z(i) - z(j))^2),以及索卡尔(C(i,j) = |z(i) - z(j)|)的标准,z(i) = (x(i) - mean(x))/sd(x)。 plot.mc.sim是一个辅助函数来绘制的置换测试的结果。


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


sp.mantel.mc(var, listw, nsim, type = "moran", zero.policy = NULL,
alternative = "greater", spChk=NULL, return_boot=FALSE)
## S3 method for class 'mc.sim'
plot(x, xlim, xlab, main, sub, ..., ptype="density")



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

参数:var
a numeric vector the same length as the neighbours list in listw
一个数值向量相同的长度的邻居列表中listw


参数:listw
a listw object created for example by nb2listw
例如创建一个listw对象的nb2listw


参数:nsim
number of permutations
的排列数


参数:type
"moran", "geary" or "sokal" criteria for similarity
“莫兰”,“吉里”或“索卡尔的相似性”的标准


参数:zero.policy
default NULL, use global option value; if TRUE assign zero to the lagged value of zones without  neighbours, if FALSE assign NA
默认为空,请使用全局选项的值,如果真没有邻居的滞后值的区域分配了零,如果为FALSE分配NA


参数:alternative
a character string specifying the alternative hypothesis,  must be one of "greater" (default), or "less".
一个字符串,指定其他假设,必须是一个“大”(默认),或“少”。


参数:spChk
should the data vector names be checked against the spatial objects for identity integrity, TRUE, or FALSE, default NULL to use get.spChkOption()
应的数据向量空间对象的名称进行核对身份完整性,TRUE,否则返回FALSE,默认为空,使用get.spChkOption()


参数:return_boot
return an object of class boot from the equivalent permutation bootstrap rather than an object of class htest
返回类的boot的等效置换引导,而不是一个对象类htest的对象


参数:x
the object to be plotted
该对象被绘制


参数:xlim
the range of the x axis
的范围内的x轴


参数:xlab
a title for the x axis
一个标题为x轴


参数:main
an overall title for the plot
总冠军的图


参数:sub
a sub title for the plot
一个子标题为图


参数:ptype
either "density" or "hist"
无论是“密度”或“历史”


参数:...
further arguments passed through
通过进一步的论据


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

A list with class htest and mc.sim containing the following components:
列表类htest和mc.sim包含以下组件:


参数:statistic
the value of the observed Geary's C.
Geary的C.观察到的值


参数:parameter
the rank of the observed Geary's C.
排名所观察到的Geary的C.


参数:alternative
a character string describing the alternative hypothesis.
一个字符串,描述了另一种假设。


参数:method
a character string giving the method used.
一个字符串提供的方法使用。


参数:data.name
a character string giving the name(s) of the data, and the  number of simulations.
一个字符的字符串,给出的名称(s)的数据,并将模拟数量。


参数:p.value
the pseudo p-value of the test.
伪p值的测试。


参数:res
nsim simulated values of statistic, final value is observed  statistic
NSIM模拟的统计值,终值的观察统计


参数:estimate
the mean and variance of the simulated distribution.
模拟分布的均值和方差。


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


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



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

Haining, R. 1990 Spatial data analysis in the social and environmental sciences, Cambridge: Cambridge University Press, p. 230&ndash;1. The function has been checked against general matrix code posted to the  r-help list by Ben Bolker on 1 May 2001; another <code>mantel()</code> function

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

moran.mc, joincount.mc,
moran.mc,joincount.mc,


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


data(oldcol)
sim1 <- sp.mantel.mc(COL.OLD$CRIME, nb2listw(COL.nb),
nsim=99, type="geary", alternative="less")
sim1
plot(sim1)
sp.mantel.mc(COL.OLD$CRIME, nb2listw(COL.nb), nsim=99,
type="sokal", alternative="less")
sp.mantel.mc(COL.OLD$CRIME, nb2listw(COL.nb), nsim=99,
type="moran")

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-18 06:19 , Processed in 0.032557 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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