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

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

[复制链接]
发表于 2012-9-30 01:52:29 | 显示全部楼层 |阅读模式
testmeanshapes(shapes)
testmeanshapes()所属R语言包:shapes

                                        Tests for mean shape difference, including permutation and bootstrap tests
                                         平均形状的差异,包括置换和引导测试的测试

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

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

Carries out tests to examine differences in mean shape between two independent populations, for $m=2$ or $m=3$ dimensional data.  Tests are carried out using tangent co-ordinates.
进行测试,以检验两个独立的群体的平均形状之间的差异,$ M = 2 $ $ M = 3维数据。进行了试验,使用切线统筹。

H : Hotelling $T^2$ statistic (see Dryden and Mardia, 1998, equ.(7.4))
H:的Hotelling T ^ 2 $统计(见,1998年德莱顿和Mardia的设备(7.4))

G : Goodall's F statistic (see Dryden and Mardia, 1998, equ.(7.9))
G:Goodall的F统计量(见,1998年德莱顿和Mardia的,当量。(7.9))

J : James $T^2$ statistic (see Amaral et al., 2007)
J:詹姆斯·T ^ 2统计(见阿马拉尔等人,2007年)

p-values are given based on resampling (either a bootstrap test or a permutation test)  as well as the usual table based p-values. Bootstrap tests involve sampling with replacement under H0  (as in Amaral et al., 2007).
p-值是给定的基于重采样(无论是自举测试或一个排列的测试),以及通常的表为基础的p-值。引导涉及抽样测试,更换下H0(阿马拉尔等,2007)。

Note when the sample sizes are low (compared to the number of landmarks) some minor regularization  is carried out. In particular if Sw is a singular within group covariance matrix, it is replaced by  Sw + 0.000001 (Identity matrix) and a "*" is printed in the output.
请注意,当样本数低(地标建筑的数量)进行了一些小的正规化。特别是如果SW是一个单一的组内协方差矩阵,取代SW + 0.000001(单位矩阵)和印有“*”的输出。


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


testmeanshapes(A, B, resamples = 1000, replace = TRUE, scale= TRUE)



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

参数:A
The random sample for group 1: k x m x n1 array of data, where k is the number of landmarks and n1 is the sample size. (Alternatively a k x n1 complex matrix for 2D)
第1组:kxmx的N1阵列的数据,其中k是数的地标和N1随机抽样的样本量。 (另外一个k x为N1复杂的2D矩阵)


参数:B
The random sample for group 2: k x m x n2 array of data, where k is the number of landmarks and n2 is the sample size. (Alternatively a k x n2 complex matrix for 2D)
组2:kxmx n2的阵列的数据,其中,k是地标和n2的数目的随机样本是样本大小。 (另外一个K X N2复杂的2D矩阵)


参数:resamples
Integer. The number of resampling iterations. If resamples = 0 then no resampling procedures are carried out, and the tabular p-values are given only.
整数。重采样的迭代的数量。如果重新采样= 0,则没有再采样程序进行,而只给出了片状的p-值。


参数:replace
Logical. If replace = TRUE then bootstrap resampling is carried out with replacement *within* each group. If replace = FALSE then permutation  resampling is carried out (sampling without replacement in *pooled* samples).
逻辑。如果更换= TRUE然后引导重采样进行与更换* *各组内。如果更换= FALSE,则置换重采样(采样*合并*样品无需更换)。


参数:scale
Logical. Whether or not to carry out Procrustes with scaling in the procedure.
逻辑。无论开展的Procrustes扩大过程中的。


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

A list with components
组件列表


参数:H
The Hotelling statistic (F statistic)
的Hotelling统计量(F统计量)


参数:H.pvalue
p-value for the Hotelling test based on resampling
p值的霍特林测试的基础上重新取样


参数:H.table.pvalue
p-value for the Hotelling test based on the null F distribution, assuming normality and equal covariance matrices
p值的霍特林测试空的F分布的基础上,假设正常和平等的协方差矩阵


参数:J
The James $T^2$ statistic
詹姆斯$ T ^ 2统计


参数:J.pvalue
p-value for the James $T^2$ test based on resampling
p值的詹姆斯$ T ^ 2的基础上重新取样测试


参数:J.table.pvalue
p-value for the James $T^2$ test based on the null F distribution, assuming normality but unequal covariance matrices   
p值的詹姆斯$ T ^ 2检验空的F分布的基础上,假设正常,但不平等的协方差矩阵


参数:G
The Goodall $F$ statistic
古道尔$ F $统计


参数:G.pvalue
p-value for the Goodall test based on resampling
p值的珍古德测试的基础上重新取样


参数:G.table.pvalue
p-value for the Goodall test based on the null F distribution, assuming normality and equal isotropic covariance matrices)
p值古道尔测试空的F分布的基础上,假设正态性和各向同性的协方差矩阵相等)


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


Ian Dryden



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

$k$-sample problems in directional statistics and shape analysis.  Journal of the American Statistical Association.   102, 695-707.
Wiley, Chichester. Chapter 7.
of shape (with discussion). Journal of the Royal Statistical Society, Series B, 53: 285-339.

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

resampletest
resampletest


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



#2D example : female and male Gorillas[2D例如:雌性和雄性大猩猩]

data(gorf.dat)
data(gorm.dat)

#just select 3 landmarks and the first 10 observations in each group[选择3的地标和10个观察各组第一]
A<-gorf.dat
B<-gorm.dat
testmeanshapes(A,B,resamples=100)


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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-22 06:43 , Processed in 0.019777 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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