permtest(smacof)
permtest()所属R语言包:smacof
SMACOF Jackknife
SMACOF刀切
译者:生物统计家园网 机器人LoveR
描述----------Description----------
These methods perform a permutation test for a nonmetric symmetric SMACOF solution.
这些方法执行测试一个非测量的对称SMACOF解决方案的一个置换。
用法----------Usage----------
## S3 method for class 'smacofB'
permtest(object, nrep = 100, verbose = FALSE)
## S3 method for class 'smacofPerm'
plot(x, alpha = 0.05, main, xlab, ylab, ...)
参数----------Arguments----------
参数:object
Object of class "smacofB", i.e., an MDS solution from smacofSym()
对象类"smacofB",即MDS解决方案,从smacofSym()的
参数:nrep
Number of permutations
的排列数
参数:verbose
If TRUE, intermediate stress is printed out
如果TRUE,中间主应力打印出来
参数:x
Object of class "smacofPerm"
对象的类"smacofPerm"
参数:alpha
Alpha level
阿尔法层次
参数:main
Plot title.
图称号。
参数:xlab
Label of x-axis.
标签的x轴。
参数:ylab
Label of y-axis.
出版商的y轴。
参数:...
Further plot arguments passed: see plot for detailed information.
进一步的图传递的参数:见plot的详细信息。
Details
详细信息----------Details----------
This routine permutes m dissimilarity values, where m is the number of lower diagonal elements in the corresponding dissimilarity matrix. For each sample a symmetric, nonmetric SMACOF of dimension ndim is computed and the stress values are stored in stressvec. Using the fitted stress value, the p-value is computed. Subsequently, the empirical cumulative distribution function can be plotted using the plot method.
此例程置换米相异值,其中m是低级相应的相异矩阵中对角线元素的数目。对于每个样品的对称,非度量SMACOF的维度ndim的应力值被计算并存储在stressvec。使用拟合的应力值,计算p-值。随后,经验的累积分布函数可以使用绘图方法绘制。
值----------Value----------
参数:stressvec
Vector containing the stress values of the permutation samples
Vector,其中包含的置换样品的应力值
参数:stress.nm
Fitted nonmetric stress
配有非测量压力
参数:pval
Resulting P-values
得到的P值
参数:call
Model call
模型调用
参数:nrep
Number of permutations
的排列数
参数:nobj
Number of objects
对象的数量
(作者)----------Author(s)----------
Jan de Leeuw and Patrick Mair
参考文献----------References----------
参见----------See Also----------
jackknife.smacofB, smacofSym, plot.smacof
jackknife.smacofB,smacofSym,plot.smacof
实例----------Examples----------
## symmetric smacof[#对称smacof]
data(kinshipdelta)
res.smacof <- smacofSym(kinshipdelta, ndim = 1, metric = FALSE)
res.perm <- permtest(res.smacof, verbose = TRUE)
res.perm
plot(res.perm)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|