seqdiff(TraMineR)
seqdiff()所属R语言包:TraMineR
Position-wise discrepancy analysis between groups of sequences
明智的职位组序列之间的差异分析
译者:生物统计家园网 机器人LoveR
描述----------Description----------
The function analyses how the differences between groups of sequences evolve along the positions. It runs a sequence of discrepancy analyses on sliding windows.
功能分析组序列之间的差异是如何演变沿的位置。它运行一个序列上的差异分析滑动窗口。
用法----------Usage----------
seqdiff(seqdata, group, cmprange = c(0, 1),
seqdist_arg=list(method="LCS",norm=TRUE),
with.missing = FALSE, weighted = TRUE, squared = FALSE)
参数----------Arguments----------
参数:seqdata
a state sequence object created with the seqdef function.
一个状态序列与seqdef函数创建的对象。
参数:group
The group variable.
组变量。
参数:cmprange
The time range of the sliding window on which subsequences are compared.
其上的滑动窗口的时间范围内的子序列进行了比较。
参数:seqdist_arg
List of arguments passed to seqdist for computing the distances.
列出的参数传递给seqdist计算的距离。
参数:with.missing
Logical. If TRUE, missing values are considered as an additional state. If FALSE subsequences with missing values are removed from the analysis.
逻辑。如果TRUE,遗漏值将被视为一个额外的状态。如果FALSE子序列的缺失值从分析中删除。
参数:weighted
Logical. If TRUE, seqdiff uses the weights specified in seqdata.
逻辑。如果TRUE,seqdiff使用指定的seqdata的权重。
参数:squared
Logical. If TRUE the dissimilarities are squared for computing the discrepancy.
逻辑。如果TRUE相异的平方来计算的差异。
Details
详细信息----------Details----------
The function analyses how the part of discrepancy explained by the group variable evolves along the position axis. It runs successively discrepancy analyses within a sliding time-window of range cmprange). At each position, the method uses seqdist to compute a distance matrix over the time-window and then derives the explained discrepancy on that window with dissassoc.
功能分析的部分差异如何解释group变量的位置沿轴的发展。它运行先后范围cmprange的滑动时间窗口内的差异分析)。在每个位置上,该方法使用seqdist计算距离矩阵的时间窗口上,然后导出的解释,该窗口上的差异与dissassoc。
There are print and plot methods for the returned value.
有打印和绘图方法的返回值。
值----------Value----------
A seqdiff object, with the following items:
Aseqdiff对象的下列项目:
参数:stat
A data.frame with three statistics (PseudoF, PseudoR2 and PseudoT) for each time stamp of the sequence, see dissassoc
Adata.frame有三个的统计(PseudoF,PseudoR2和PseudoT)每次邮票的序列,请参阅dissassoc
参数:discrepancy
A data.frame with, at each time stamp, the discrepancy within each group defined by the group variable and for the whole population.
Adata.frame,在每一个时间戳记,group变量和整个人口的定义各组内的差异。
参考文献----------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.
参见----------See Also----------
dissassoc to analyse the association of the group variable with the whole sequence
dissassocgroup变量的关联分析与整个序列
实例----------Examples----------
## Define a state sequence object[#定义一个状态序列对象]
data(mvad)
mvad.seq <- seqdef(mvad[, 17:86])
## Position-wise discrepancy analysis[#位置明智的差异分析]
mvad.diff <- seqdiff(mvad.seq, group=mvad$gcse5eq)
print(mvad.diff)
plot(mvad.diff, stat=c("Pseudo R2", "Levene"), xtstep=6)
plot(mvad.diff, stat="discrepancy")
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|