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

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

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

                                        Identifying discriminating subsequences
                                         确定歧视的子序列

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

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

Identify and sort the most discriminating subsequences by their discriminating power.
最挑剔的子序列进行识别和分类,通过他们的鉴别能力。


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


seqecmpgroup(subseq, group, method="chisq", pvalue.limit=NULL,
             weighted = TRUE)



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

参数:subseq
A subseqelist object (list of subsequences) such as produced by seqefsub
Asubseqelist对象(子序列列表)产生的seqefsub


参数:group
Group membership, i.e., a variable or factor defining the groups which we want to discriminate
集团的成员,即定义一个变量或因素的群体,我们要歧视


参数:method
The discrimination method; one of "bonferroni" or "chisq"
判别方法;"bonferroni"或"chisq"


参数:pvalue.limit
Can be used to filter the results. Only subsequences with a p-value lower than this parameter are selected. If NULL all subsequences are returned (regardless of their p-values).
可用于对结果进行筛选。只有被选择的子序列与一个p值低于此参数。如果NULL返回所有的子序列(不管他们的p值)。


参数:weighted
Logical. If TRUE, seqecmpgroup uses the weights specified in subseq, (see seqefsub).
逻辑。如果TRUE,seqecmpgroup使用中指定的权重subseq(seqefsub)。


Details

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

The following discrimination test functions are implemented: chisq, the Pearson Independence Chi-squared test, and bonferroni, the Pearson Independence Chi-squared test with Bonferroni correction.
下面的歧视测试功能的实现:chisq,皮尔森独立性卡方检验,和bonferroni,皮尔逊独立的卡方检验和Bonferroni校正。


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

An objet of type subseqelistchisq (subtype of subseqelist) with the following elements
OBJET巴黎家居装饰博览会包含下列元素的类型subseqelistchisq(subseqelist)亚型


参数:subseq
Sorted list of found discriminating subsequences
排序的列表发现歧视的子序列,


参数:seqe
The event sequence object on which the tests were computed
事件序列对象的测试计算


参数:constraint
Time constraints used for searching the subsequences (see seqeconstraint)
用于搜索的子序列的时间限制(见seqeconstraint)


参数:labels
Levels (value labels) of the target group variable
水平(值标签)的目标群体变量


参数:type
Type of test used
所使用的测试类型


参数:data
A data frame with columns support, index (original order of the subsequence) and a pair of frequency and Pearson residual columns for each group
为每个组列的支持,指数(原来的顺序的子序列)和一个对频率和Pearson残余列的数据框与


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



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

See also plot.subseqelistchisq to plot the results
plot.subseqelistchisq绘制的结果


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


data(actcal.tse)
actcal.seqe <- seqecreate(actcal.tse)

##Searching for frequent subsequences, that is, appearing at least 20 times[#搜索频繁的子序列,即,出现至少20倍]
fsubseq <- seqefsub(actcal.seqe, pMinSupport=0.01)

##searching for susbsequences discriminating the most men and women[#寻找susbsequences鉴别大多数男人和女人]
data(actcal)
discr <- seqecmpgroup(fsubseq, group=actcal$sex, method="bonferroni")
##Printing discriminating subsequences[#打印歧视的子序列]
print(discr)
##Plotting the six most discriminating subsequences[#绘制六最挑剔的子序列]
plot(discr[1:6])


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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-30 06:45 , Processed in 0.028591 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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