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

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

[复制链接]
发表于 2012-10-1 11:41:16 | 显示全部楼层 |阅读模式
seqST(TraMineR)
seqST()所属R语言包:TraMineR

                                        Sequences turbulence
                                         序列动荡

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

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

Computes the turbulence for each sequence in a sequence data set using the measure proposed by Elzinga.
计算湍流的每个序列的序列中的数据集的使用的措施,提出的Elzinga。


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


seqST(seqdata)



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

参数:seqdata
a state sequence object as returned by the the seqdef function.
返回一个状态序列对象的seqdef功能。


Details

详细信息----------Details----------

Sequence turbulence is a measure proposed by <CITE>Elzinga &amp; Liefbroer (2007)</CITE>. It is based on the number phi(x) of distinct subsequences that can be extracted from the distinct successive state sequence and the variance of the consecutive times t_i spent in the distinct states. For a sequence x, the formula is
序列湍流是一种<CITE> Elzinga与Liefbroer的</ CITE>(2007)提出的措施。它是基于数phi(x)的不同的子序列,可以从不同的连续状态序列提取和连续三次的方差t_i略去在不同的状态。序列x,计算公式为

where s_t^2(x) is the variance of the successive state durations in sequence x and s_{t,max}^2(x) is the maximum value that this variance can take given the total duration of the sequence. This maximum is computed as
其中s_t^2(x)是连续状态的持续时间序列的方差x和s_{t,max}^2(x)是这种差异可以采取的总持续时间序列的最大值。这个最大值被计算为

where bar{t} is the mean consecutive time spent in the distinct states, i.e. the sequence duration divided by the number d of distinct states in the sequence.
其中bar{t}是连续的平均花费的时间在不同的状态,即持续时间除以数d不同的状态序列中的顺序。

The function searches for missing states in the sequences and if found, adds the missing state to the alphabet for the computation of the turbulence. In this case the seqdss and seqdur functions for extracting the distinct successive state sequences and the associated durations are called with the {with.missing=TRUE} argument. A missing state in a sequence is considered as the occurence of an additional symbol of the alphabet, and two or more consecutive missing states are considered as two or more occurences of the same state. Hence the DSS of A-A-*-*-*-B-B-C-C-D is A-*-B-C-D and the associated durations are 2-3-2-2-1.
功能搜索失踪的序列中,如果发现,添加缺失的状态湍流计算的字母表。在这种情况下seqdss和seqdur用于提取不同的连续的状态序列和相关联的持续时间被称为与{with.missing=TRUE}参数的功能。的发生的其他符号的字母序列中被认为是一个缺少状态,和两个或更多的连续丢失的状态被认为是两个或两个以上出现的相同的状态。因此,A-A-*-*-*-B-B-C-C-D DSSA-*-B-C-D和相关的持续时间是2-3-2-2-1。


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

a vector of length equal to the number of sequences in
的序列数的向量的长度等于


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

De-standardization of Family-Life Trajectories of Young Adults: A Cross-National Comparison Using Sequence Analysis. European Journal of Population, 23, 225-250.

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

seqdss, seqdur. For another composite measure of sequence complexity see and seqici.
seqdss,seqdur。序列复杂性的另一个综合衡量和seqici。


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


  ## Loading the 'actcal' example data set[#载入actcal的“示例数据集]
  data(actcal)

  ## Defining a sequence object with data in columns 13 to 24[#定义一个序列对象中的数据列13至24]
  ## (activity status from january to december 2000)[#(活动地位从1月至2000年12)]
  actcal.seq <- seqdef(actcal,13:24, informat='STS')

  ## Computing the sequences turbulence[#计算的序列动荡]
  turb <- seqST(actcal.seq)

  ## Histogram for the turbulence[#直方图的动荡]
  hist(turb)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-30 03:32 , Processed in 0.024621 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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