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

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

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

                                        Approximate profile-likelihood estimator (APLE) permutation test
                                         约轮廓似然估计(APLE)置换测试

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

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

A permutation bootstrap test for the approximate profile-likelihood estimator (APLE).
测试的大致轮廓似然估计(APLE)置换引导。


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


aple.mc(x, listw, nsim, override_similarity_check=FALSE, useTrace=TRUE)



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

参数:x
a zero-mean detrended continuous variable
一个零均值的非趋势连续变量


参数:listw
a listw object from for example nb2listw
一个listw的对象例如nb2listw


参数:nsim
number of simulations
一些模拟


参数:override\_similarity\_check
default FALSE, if TRUE - typically for row-standardised weights with asymmetric underlying general weights - similarity is not checked
默认是false,如果是TRUE  - 通常行标准化与不对称相关的一般权重权重 - 相似性是不检查


参数:useTrace
default TRUE, use trace of sparse matrix W %*% W (Li et al. (2010)), if FALSE, use crossproduct of eigenvalues of W as in Li et al. (2007)
默认为true,使用跟踪稀疏矩阵W %*% W(Li等(2010)),如果为FALSE,使用交叉积的特征值WLi等人。 (2007)


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

A boot object as returned by the boot function.
Aboot对象的返回的boot功能。


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


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



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

<h3>See Also</h3>

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


## Not run: [#不运行:]
example(aple)
boot_out <- aple.mc(as.vector(scale(wheat$yield_detrend, scale=FALSE)),
nb2listw(nbr12, style="W"), nsim=500)
plot(boot_out)
boot_out
library(parallel)
cl <- makeCluster(detectCores())
set.ClusterOption(cl)
set.rlecuyerSeedOption(1:6)
boot_out <- aple.mc(as.vector(scale(wheat$yield_detrend, scale=FALSE)),
nb2listw(nbr12, style="W"), nsim=500)
boot_out
set.ClusterOption(NULL)
stopCluster(cl)

## End(Not run)[#(不执行)]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-17 19:17 , Processed in 0.044681 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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