dissvar(TraMineR)
dissvar()所属R语言包:TraMineR
Dissimilarity based discrepancy
相异基础的差异
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Compute the discrepancy from the pairwise dissimilarities between objects. The discrepancy is a measure of dispersion of the set of objects.
计算对象之间的两两相异的差异。这个差异是衡量分散的对象集。
用法----------Usage----------
dissvar(diss, weights=NULL, squared = FALSE)
参数----------Arguments----------
参数:diss
A dissimilarity matrix or a dist object (see dist)
一个的相异矩阵或dist对象(见dist)
参数:weights
optional numerical vector containing weights.
可选的数值向量中的权重。
参数:squared
Logical. If TRUE diss is squared.
逻辑。如果TRUEdiss平方。
Details
详细信息----------Details----------
The discrepancy is an extension of the concept of variance to any kind of objects for which we can compute pairwise dissimilarities. The discrepancy s^2 is defined as:
这种差异是任何类型的对象,我们可以计算出两两相异的方差的概念的延伸。的差异s^2被定义为:
Mathematical ground: In the Euclidean case, the sum of squares can be expressed as:
数学地面:在欧几里德情况下,平方的总和可以被表示为:
The concept of discrepancy generalizes the equation by allowing to replace the (y_i - y_j)^2 term with any measure of dissimilarity d_{ij}.
差异的概念,概括了方程允许任何的相异(y_i - y_j)^2的措施取代d_{ij}的任期。
值----------Value----------
The discrepancy.
的差异。
参考文献----------References----------
Discrepancy analysis of complex objects using dissimilarities. In F. Guillet, G. Ritschard, D. A. Zighed and H. Briand (Eds.), Advances in Knowledge Discovery and Management, Studies in Computational Intelligence, Volume 292, pp. 3-19. Berlin: Springer.
Analyse de dissimilarit茅s par arbre d'induction. In EGC 2009, Revue des Nouvelles Technologies de l'Information, Vol. E-15, pp. 7-18.
Austral Ecology 26, 32-46.
Classification and related methods of data analysis, Amsterdam: North-Holland, pp. 67-74.
参见----------See Also----------
dissassoc to test association between objects represented by their dissimilarities and a covariate. <br> disstree for an induction tree analyse of objects characterized by a dissimilarity matrix. <br> disscenter to compute the distance of each object to its group center from pairwise dissimilarities. <br> dissmfac to perform multi-factor analysis of variance from pairwise dissimilarities.
dissassoc的来测试他们的不同点和协变量所代表的对象之间的关联。参考disstree感应树分析相异度矩阵的特征的对象。参考disscenter计算两两相异的每个对象组中心的距离。参考dissmfac进行多因素方差分析,两两相异。
实例----------Examples----------
## Defining a state sequence object[#定义一个状态序列对象]
data(mvad)
mvad.seq <- seqdef(mvad[, 17:86])
## Building dissimilarities (any dissimilarity measure can be used)[#楼异同(可用于任何相异措施)]
mvad.ham <- seqdist(mvad.seq, method="HAM")
## Pseudo variance of the sequences[#序列的伪方差]
print(dissvar(mvad.ham))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|