Stata第八章 单因素生存分析

2012-04-17 生物谷 生物谷

本 节STATA  命 令 摘 要 logrank  生存时间变量  结果变量[,by(分组变量)] 单 因 素 生 存 分 析  在 医 学 研 究 中, 除 了 计 量 资 料 和 计 数 资 料 外, 还 经 常 遇 到 生 存 分 析 的 资 料, 这 种 资 料 不 仅 描 述 所 观 察 对 象 是 否 有 结 果( 死 亡

本 节STATA  命 令 摘 要

logrank  生存时间变量  结果变量[,by(分组变量)]

单 因 素 生 存 分 析

 在 医 学 研 究 中, 除 了 计 量 资 料 和 计 数 资 料 外, 还 经 常 遇 到 生 存 分 析 的 资 料, 这 种 资 料 不 仅 描 述 所 观 察 对 象 是 否 有 结 果( 死 亡 或 没 死 亡 以 及 失 访) 而 且 还 记 录 了 从 观 察 开 始 起 至 观 察 结 束 的 时 间 长 度。 这 种 资 料 容 许 失 访 资 料 参 加 分 析。 因 此 这 类 资 料 至 少  需 要 用 两 个 变 量: 观 察 时 间 的 长 短 以 及 结 束 观 察 时 的 结 果 变 量( 死 亡 或 未 死 亡), 失 访 资 料 记 录 了 从 开 始 观 察 至 到 失 访 时 的 观 察 时 间 长 短 以 及 失 访 结 果 作 为 未 死 亡 的 情 况( 因 为 在 失 访 前, 还 未 死 亡)。 这 类 资 料 的 两 组 的 单 因 素 生 存 分 析 应 采 用 时 序 检 验 的 方 法, 一 般 采 用 log rank  检 验 方 法( 无 效 假 设:两 组 死 亡 人 数 的 期 望 值 相 同)。 STATA 命 令 为:

logrank  生存时间变量  结果变量[,by(分组变量)]

例:25 例 某 种 癌 症 患 者 在 不 同 日 期 经 随 机 化 分 配 到 A、B 两 治 疗 组, 并 继 续 进 行 随 访 至 1974 年5 月31 日 结 束, 资 料 如 下 表 所 示,  并 用 group=0 表 示 A 组 和 group=1 表 示 B 组;t  表 示 参 加 试 验 的日 数( 观 察 时 间 的 长 短);outcome=0 表 示 未 死 亡 或 失 访 以 及 outcome=1 表 示 患 者 死 亡, 并 存 入 ex7.dta 文 件。试 比 较 两 组 的 疗 效。

group

0

0

0

0

0

0

0

t

8

852

52

220

63

8

1976

outcome

1

0

1

1

1

1

0

group

0

0

0

0

0

1

1

t

1296

1460

63

1328

365

180

632

outcome

0

0

1

0

0

1

1

group

1

1

1

1

1

1

1

t

2240

195

76

70

13

1990

18

outcome

0

1

1

1

1

0

1

group

1

1

1

1

     

t

700

210

1296

23

     

outcome

1

1

1

1

     

logrank  t  outcome, by(group)

                       ①             ②                

Group        Events     Predicted                                          

-------------------------------------------                                          

        0             6          8.34                                          

        1            11          8.66                                           

-------------------------------------------                                          

        ③          chi2(1) =      1.29                                          

        ④         Pr>chi2 =    0.2567                                          

① 为 死 亡 的 人 数;② 死 亡 人 数 期 望 值 的 样 本 估 计 值; ③logrank 统 计 量 的 卡 方 值;④ 无 效 假 设Ho 的 logrank 检 验 所 对 应 的 p 值。

 由 上 述 统 计 结 果 表 明: 两 组 死 亡 人 数 期 望 值 无 显 著 性 差 异, 因 此 根 据 本 例 的 资 料 和 检 验 结 果 表 明: 可 以 认 为 两 组 疗 效 无 显 著 性 差 异。

版权声明:
本网站所有内容来源注明为“梅斯医学”或“MedSci原创”的文字、图片和音视频资料,版权均属于梅斯医学所有。非经授权,任何媒体、网站或个人不得转载,授权转载时须注明来源为“梅斯医学”。其它来源的文章系转载文章,或“梅斯号”自媒体发布的文章,仅系出于传递更多信息之目的,本站仅负责审核内容合规,其内容不代表本站立场,本站不负责内容的准确性和版权。如果存在侵权、或不希望被转载的媒体或个人可与我们联系,我们将立即进行删除处理。
在此留言
评论区 (5)
#插入话题
  1. [GetPortalCommentsPageByObjectIdResponse(id=62173, encodeId=89ca621e38e, content=阿, beContent=null, objectType=article, channel=null, level=null, likeNumber=117, replyNumber=0, topicName=null, topicId=null, topicList=[], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=19691629579, createdName=zm0805, createdTime=Sat Jan 30 00:58:00 CST 2016, time=2016-01-30, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=62174, encodeId=04c0621e44f, content=牛, beContent=null, objectType=article, channel=null, level=null, likeNumber=122, replyNumber=0, topicName=null, topicId=null, topicList=[], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=19691629579, createdName=zm0805, createdTime=Sat Jan 30 00:58:00 CST 2016, time=2016-01-30, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=62175, encodeId=a068621e5c0, content=多学习, beContent=null, objectType=article, channel=null, level=null, likeNumber=125, replyNumber=0, topicName=null, topicId=null, topicList=[], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=19691629579, createdName=zm0805, createdTime=Sat Jan 30 00:58:00 CST 2016, time=2016-01-30, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=1465974, encodeId=8ba014659e4ff, content=<a href='/topic/show?id=217c292009' target=_blank style='color:#2F92EE;'>#ATA#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=27, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=2920, encryptionId=217c292009, topicName=ATA)], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=387a6772119, createdName=bbjsj_1981, createdTime=Thu Apr 19 08:44:00 CST 2012, time=2012-04-19, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=1487405, encodeId=c3fe148e405c7, content=<a href='/topic/show?id=7cea16e605a' target=_blank style='color:#2F92EE;'>#stata#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=31, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=16760, encryptionId=7cea16e605a, topicName=stata)], attachment=null, authenticateStatus=null, createdAvatar=null, createdBy=e76d8309257, createdName=李研东, createdTime=Thu Apr 19 08:44:00 CST 2012, time=2012-04-19, status=1, ipAttribution=)]
    2016-01-30 zm0805

    0

  2. [GetPortalCommentsPageByObjectIdResponse(id=62173, encodeId=89ca621e38e, content=阿, beContent=null, objectType=article, channel=null, level=null, likeNumber=117, replyNumber=0, topicName=null, topicId=null, topicList=[], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=19691629579, createdName=zm0805, createdTime=Sat Jan 30 00:58:00 CST 2016, time=2016-01-30, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=62174, encodeId=04c0621e44f, content=牛, beContent=null, objectType=article, channel=null, level=null, likeNumber=122, replyNumber=0, topicName=null, topicId=null, topicList=[], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=19691629579, createdName=zm0805, createdTime=Sat Jan 30 00:58:00 CST 2016, time=2016-01-30, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=62175, encodeId=a068621e5c0, content=多学习, beContent=null, objectType=article, channel=null, level=null, likeNumber=125, replyNumber=0, topicName=null, topicId=null, topicList=[], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=19691629579, createdName=zm0805, createdTime=Sat Jan 30 00:58:00 CST 2016, time=2016-01-30, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=1465974, encodeId=8ba014659e4ff, content=<a href='/topic/show?id=217c292009' target=_blank style='color:#2F92EE;'>#ATA#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=27, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=2920, encryptionId=217c292009, topicName=ATA)], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=387a6772119, createdName=bbjsj_1981, createdTime=Thu Apr 19 08:44:00 CST 2012, time=2012-04-19, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=1487405, encodeId=c3fe148e405c7, content=<a href='/topic/show?id=7cea16e605a' target=_blank style='color:#2F92EE;'>#stata#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=31, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=16760, encryptionId=7cea16e605a, topicName=stata)], attachment=null, authenticateStatus=null, createdAvatar=null, createdBy=e76d8309257, createdName=李研东, createdTime=Thu Apr 19 08:44:00 CST 2012, time=2012-04-19, status=1, ipAttribution=)]
    2016-01-30 zm0805

    0

  3. [GetPortalCommentsPageByObjectIdResponse(id=62173, encodeId=89ca621e38e, content=阿, beContent=null, objectType=article, channel=null, level=null, likeNumber=117, replyNumber=0, topicName=null, topicId=null, topicList=[], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=19691629579, createdName=zm0805, createdTime=Sat Jan 30 00:58:00 CST 2016, time=2016-01-30, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=62174, encodeId=04c0621e44f, content=牛, beContent=null, objectType=article, channel=null, level=null, likeNumber=122, replyNumber=0, topicName=null, topicId=null, topicList=[], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=19691629579, createdName=zm0805, createdTime=Sat Jan 30 00:58:00 CST 2016, time=2016-01-30, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=62175, encodeId=a068621e5c0, content=多学习, beContent=null, objectType=article, channel=null, level=null, likeNumber=125, replyNumber=0, topicName=null, topicId=null, topicList=[], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=19691629579, createdName=zm0805, createdTime=Sat Jan 30 00:58:00 CST 2016, time=2016-01-30, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=1465974, encodeId=8ba014659e4ff, content=<a href='/topic/show?id=217c292009' target=_blank style='color:#2F92EE;'>#ATA#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=27, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=2920, encryptionId=217c292009, topicName=ATA)], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=387a6772119, createdName=bbjsj_1981, createdTime=Thu Apr 19 08:44:00 CST 2012, time=2012-04-19, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=1487405, encodeId=c3fe148e405c7, content=<a href='/topic/show?id=7cea16e605a' target=_blank style='color:#2F92EE;'>#stata#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=31, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=16760, encryptionId=7cea16e605a, topicName=stata)], attachment=null, authenticateStatus=null, createdAvatar=null, createdBy=e76d8309257, createdName=李研东, createdTime=Thu Apr 19 08:44:00 CST 2012, time=2012-04-19, status=1, ipAttribution=)]
    2016-01-30 zm0805

    多学习

    0

  4. [GetPortalCommentsPageByObjectIdResponse(id=62173, encodeId=89ca621e38e, content=阿, beContent=null, objectType=article, channel=null, level=null, likeNumber=117, replyNumber=0, topicName=null, topicId=null, topicList=[], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=19691629579, createdName=zm0805, createdTime=Sat Jan 30 00:58:00 CST 2016, time=2016-01-30, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=62174, encodeId=04c0621e44f, content=牛, beContent=null, objectType=article, channel=null, level=null, likeNumber=122, replyNumber=0, topicName=null, topicId=null, topicList=[], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=19691629579, createdName=zm0805, createdTime=Sat Jan 30 00:58:00 CST 2016, time=2016-01-30, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=62175, encodeId=a068621e5c0, content=多学习, beContent=null, objectType=article, channel=null, level=null, likeNumber=125, replyNumber=0, topicName=null, topicId=null, topicList=[], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=19691629579, createdName=zm0805, createdTime=Sat Jan 30 00:58:00 CST 2016, time=2016-01-30, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=1465974, encodeId=8ba014659e4ff, content=<a href='/topic/show?id=217c292009' target=_blank style='color:#2F92EE;'>#ATA#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=27, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=2920, encryptionId=217c292009, topicName=ATA)], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=387a6772119, createdName=bbjsj_1981, createdTime=Thu Apr 19 08:44:00 CST 2012, time=2012-04-19, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=1487405, encodeId=c3fe148e405c7, content=<a href='/topic/show?id=7cea16e605a' target=_blank style='color:#2F92EE;'>#stata#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=31, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=16760, encryptionId=7cea16e605a, topicName=stata)], attachment=null, authenticateStatus=null, createdAvatar=null, createdBy=e76d8309257, createdName=李研东, createdTime=Thu Apr 19 08:44:00 CST 2012, time=2012-04-19, status=1, ipAttribution=)]
    2012-04-19 bbjsj_1981
  5. [GetPortalCommentsPageByObjectIdResponse(id=62173, encodeId=89ca621e38e, content=阿, beContent=null, objectType=article, channel=null, level=null, likeNumber=117, replyNumber=0, topicName=null, topicId=null, topicList=[], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=19691629579, createdName=zm0805, createdTime=Sat Jan 30 00:58:00 CST 2016, time=2016-01-30, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=62174, encodeId=04c0621e44f, content=牛, beContent=null, objectType=article, channel=null, level=null, likeNumber=122, replyNumber=0, topicName=null, topicId=null, topicList=[], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=19691629579, createdName=zm0805, createdTime=Sat Jan 30 00:58:00 CST 2016, time=2016-01-30, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=62175, encodeId=a068621e5c0, content=多学习, beContent=null, objectType=article, channel=null, level=null, likeNumber=125, replyNumber=0, topicName=null, topicId=null, topicList=[], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=19691629579, createdName=zm0805, createdTime=Sat Jan 30 00:58:00 CST 2016, time=2016-01-30, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=1465974, encodeId=8ba014659e4ff, content=<a href='/topic/show?id=217c292009' target=_blank style='color:#2F92EE;'>#ATA#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=27, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=2920, encryptionId=217c292009, topicName=ATA)], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=387a6772119, createdName=bbjsj_1981, createdTime=Thu Apr 19 08:44:00 CST 2012, time=2012-04-19, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=1487405, encodeId=c3fe148e405c7, content=<a href='/topic/show?id=7cea16e605a' target=_blank style='color:#2F92EE;'>#stata#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=31, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=16760, encryptionId=7cea16e605a, topicName=stata)], attachment=null, authenticateStatus=null, createdAvatar=null, createdBy=e76d8309257, createdName=李研东, createdTime=Thu Apr 19 08:44:00 CST 2012, time=2012-04-19, status=1, ipAttribution=)]
    2012-04-19 李研东

相关资讯

Stata第五章多组计量资料比较的非参数检验命令与输出结果说明

本节STATA 命令摘要 ranksum观察变量,by(分组变量) kwallis 观察变量,by(分组变量) ·       秩 和检验(Mann,WhitneyandWilcoxon非参数检验)  对于计量资料不满足正态分布要求或方差不齐性,但样本资料之间是独立

Stata第六章 卡方检验

本节STATA 命令摘要 [by 分层变量名:]tab2变量1变量2[,allchi2exactcellcolumnrow] tabi#11#12[...]\[#21#22[...][\...][,allchi2exactcellcolumnrow] ·列联表分析 STATA命令: [by分层变量:]tab2变量1变量2[,allchi2lichi2e

Stata第七章 相关分析

本节STATA 命令摘要 correlate变量名1变量名2…变量名m spearman变量1 变量2 ·       线性关系的相关分析 若计量资料变量1,…,变量m服从正态分布,对于它们之间是否存在线性相关关系可以通过相关分析方法,相应的STATA命令为: pwcorr变量名1变

Stata第四章 t检验和单因素方差分析(下)

·单因素方差分析  单因素方差分析又称为OnewayANOVA,用于比较多组样本的均数是否相同,并假定:每组的数据

Stata第五章 多组计量资料比较的非参数检验命令与输出结果说明

本节STATA 命令摘要 ranksum观察变量,by(分组变量) kwallis 观察变量,by(分组变量) ·       秩 和检验(Mann,WhitneyandWilcoxon非参数检验)  对于计量资料不满足正态分布要求或方差不齐性,但样本资料之间是独立

Stata第五章多组计量资料比较的非参数检验命令与输出结果说明

本节STATA 命令摘要 ranksum观察变量,by(分组变量) kwallis 观察变量,by(分组变量) ·       秩 和检验(Mann,WhitneyandWilcoxon非参数检验)  对于计量资料不满足正态分布要求或方差不齐性,但样本资料之间是独立