SPSS进行配对logistic回归(条件logistic回归)分析

2014-05-06 MedSci MedSci原创

一、概述 对病例和对照进行配比能控制影响实验效应的主要非处理因素,可以提高统计分析的效能,可分为1:1,1:n,m:n配对。SPSS中未提供专用的配对logistic回归的功能,通过变换,可以使用其他方法进行分析,常用的就是带有分层的Cox回归模型。 给每一条记录一个虚拟的生存时间,一般默认病例组的生存时间较对照组短,病例算事件发生,对照算作删失,把配对因素算作分层因素,消除配对因素的影响。

一、概述 对病例和对照进行配比能控制影响实验效应的主要非处理因素,可以提高统计分析的效能,可分为1:1,1:n,m:n配对。SPSS中未提供专用的配对logistic回归的功能,通过变换,可以使用其他方法进行分析,常用的就是带有分层的Cox回归模型。 给每一条记录一个虚拟的生存时间,一般默认病例组的生存时间较对照组短,病例算事件发生,对照算作删失,把配对因素算作分层因素,消除配对因素的影响。 二、例题 调查某地65岁居民发生严重感冒的情况,根据性别、年龄每个病例配两个对照,研究目的是分析注射疫苗和肺部疾病与患严重感冒之间的关系。 相关变量级取值如下: id:配对的对子号。 outcome:虚拟的生存时间,病例取值为1,对照取值为2。(也可以取其他值,如1,100,只要对照大于病例的生存时间即可)。 lung:是否患肺部疾病,1代表有,0代表无。 vaccine:是否注射疫苗,1代表是,0代表否。 status:虚拟生存状态变量,病例组全为1,代表事件发生,对照组全为0,代表删失。 三、操作步骤 本例与普通Cox模型操作相同,只需要将id作为分层变量选入模型即可。 变量视图: &nb

版权声明:
本网站所有内容来源注明为“梅斯医学”或“MedSci原创”的文字、图片和音视频资料,版权均属于梅斯医学所有。非经授权,任何媒体、网站或个人不得转载,授权转载时须注明来源为“梅斯医学”。其它来源的文章系转载文章,或“梅斯号”自媒体发布的文章,仅系出于传递更多信息之目的,本站仅负责审核内容合规,其内容不代表本站立场,本站不负责内容的准确性和版权。如果存在侵权、或不希望被转载的媒体或个人可与我们联系,我们将立即进行删除处理。
在此留言
评论区 (5)
#插入话题
  1. [GetPortalCommentsPageByObjectIdResponse(id=235790, encodeId=fe46235e902a, content=挺好的.谢谢, beContent=null, objectType=article, channel=null, level=null, likeNumber=72, replyNumber=0, topicName=null, topicId=null, topicList=[], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=8d482128278, createdName=1391fc2bd4m, createdTime=Mon Aug 21 21:07:43 CST 2017, time=2017-08-21, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=24078, encodeId=09f0240e832, content=没下文了?, beContent=null, objectType=article, channel=null, level=null, likeNumber=97, replyNumber=0, topicName=null, topicId=null, topicList=[], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=fe341625261, createdName=lustigleonie, createdTime=Mon May 18 19:37:00 CST 2015, time=2015-05-18, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=1905754, encodeId=388a1905e54a7, content=<a href='/topic/show?id=9dc4109964f' target=_blank style='color:#2F92EE;'>#Logistic#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=32, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=10996, encryptionId=9dc4109964f, topicName=Logistic)], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=afa4194, createdName=cenghis, createdTime=Fri Feb 06 07:26:00 CST 2015, time=2015-02-06, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=1746725, encodeId=1eaf1e46725b2, content=<a href='/topic/show?id=88e91099e10' target=_blank style='color:#2F92EE;'>#logistic回归#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=29, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=10997, encryptionId=88e91099e10, topicName=logistic回归)], attachment=null, authenticateStatus=null, createdAvatar=null, createdBy=d3c135838005, createdName=xlwang2703, createdTime=Thu Aug 28 02:26:00 CST 2014, time=2014-08-28, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=1455103, encodeId=7ef914551036a, content=<a href='/topic/show?id=bebe8032fc' target=_blank style='color:#2F92EE;'>#GIST#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=27, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=8032, encryptionId=bebe8032fc, topicName=GIST)], attachment=null, authenticateStatus=null, createdAvatar=null, createdBy=6e445632366, createdName=july_977, createdTime=Thu May 08 03:26:00 CST 2014, time=2014-05-08, status=1, ipAttribution=)]
    2017-08-21 1391fc2bd4m

    挺好的.谢谢

    0

  2. [GetPortalCommentsPageByObjectIdResponse(id=235790, encodeId=fe46235e902a, content=挺好的.谢谢, beContent=null, objectType=article, channel=null, level=null, likeNumber=72, replyNumber=0, topicName=null, topicId=null, topicList=[], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=8d482128278, createdName=1391fc2bd4m, createdTime=Mon Aug 21 21:07:43 CST 2017, time=2017-08-21, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=24078, encodeId=09f0240e832, content=没下文了?, beContent=null, objectType=article, channel=null, level=null, likeNumber=97, replyNumber=0, topicName=null, topicId=null, topicList=[], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=fe341625261, createdName=lustigleonie, createdTime=Mon May 18 19:37:00 CST 2015, time=2015-05-18, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=1905754, encodeId=388a1905e54a7, content=<a href='/topic/show?id=9dc4109964f' target=_blank style='color:#2F92EE;'>#Logistic#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=32, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=10996, encryptionId=9dc4109964f, topicName=Logistic)], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=afa4194, createdName=cenghis, createdTime=Fri Feb 06 07:26:00 CST 2015, time=2015-02-06, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=1746725, encodeId=1eaf1e46725b2, content=<a href='/topic/show?id=88e91099e10' target=_blank style='color:#2F92EE;'>#logistic回归#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=29, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=10997, encryptionId=88e91099e10, topicName=logistic回归)], attachment=null, authenticateStatus=null, createdAvatar=null, createdBy=d3c135838005, createdName=xlwang2703, createdTime=Thu Aug 28 02:26:00 CST 2014, time=2014-08-28, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=1455103, encodeId=7ef914551036a, content=<a href='/topic/show?id=bebe8032fc' target=_blank style='color:#2F92EE;'>#GIST#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=27, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=8032, encryptionId=bebe8032fc, topicName=GIST)], attachment=null, authenticateStatus=null, createdAvatar=null, createdBy=6e445632366, createdName=july_977, createdTime=Thu May 08 03:26:00 CST 2014, time=2014-05-08, status=1, ipAttribution=)]
    2015-05-18 lustigleonie

    没下文了?

    0

  3. [GetPortalCommentsPageByObjectIdResponse(id=235790, encodeId=fe46235e902a, content=挺好的.谢谢, beContent=null, objectType=article, channel=null, level=null, likeNumber=72, replyNumber=0, topicName=null, topicId=null, topicList=[], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=8d482128278, createdName=1391fc2bd4m, createdTime=Mon Aug 21 21:07:43 CST 2017, time=2017-08-21, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=24078, encodeId=09f0240e832, content=没下文了?, beContent=null, objectType=article, channel=null, level=null, likeNumber=97, replyNumber=0, topicName=null, topicId=null, topicList=[], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=fe341625261, createdName=lustigleonie, createdTime=Mon May 18 19:37:00 CST 2015, time=2015-05-18, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=1905754, encodeId=388a1905e54a7, content=<a href='/topic/show?id=9dc4109964f' target=_blank style='color:#2F92EE;'>#Logistic#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=32, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=10996, encryptionId=9dc4109964f, topicName=Logistic)], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=afa4194, createdName=cenghis, createdTime=Fri Feb 06 07:26:00 CST 2015, time=2015-02-06, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=1746725, encodeId=1eaf1e46725b2, content=<a href='/topic/show?id=88e91099e10' target=_blank style='color:#2F92EE;'>#logistic回归#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=29, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=10997, encryptionId=88e91099e10, topicName=logistic回归)], attachment=null, authenticateStatus=null, createdAvatar=null, createdBy=d3c135838005, createdName=xlwang2703, createdTime=Thu Aug 28 02:26:00 CST 2014, time=2014-08-28, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=1455103, encodeId=7ef914551036a, content=<a href='/topic/show?id=bebe8032fc' target=_blank style='color:#2F92EE;'>#GIST#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=27, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=8032, encryptionId=bebe8032fc, topicName=GIST)], attachment=null, authenticateStatus=null, createdAvatar=null, createdBy=6e445632366, createdName=july_977, createdTime=Thu May 08 03:26:00 CST 2014, time=2014-05-08, status=1, ipAttribution=)]
    2015-02-06 cenghis
  4. [GetPortalCommentsPageByObjectIdResponse(id=235790, encodeId=fe46235e902a, content=挺好的.谢谢, beContent=null, objectType=article, channel=null, level=null, likeNumber=72, replyNumber=0, topicName=null, topicId=null, topicList=[], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=8d482128278, createdName=1391fc2bd4m, createdTime=Mon Aug 21 21:07:43 CST 2017, time=2017-08-21, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=24078, encodeId=09f0240e832, content=没下文了?, beContent=null, objectType=article, channel=null, level=null, likeNumber=97, replyNumber=0, topicName=null, topicId=null, topicList=[], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=fe341625261, createdName=lustigleonie, createdTime=Mon May 18 19:37:00 CST 2015, time=2015-05-18, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=1905754, encodeId=388a1905e54a7, content=<a href='/topic/show?id=9dc4109964f' target=_blank style='color:#2F92EE;'>#Logistic#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=32, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=10996, encryptionId=9dc4109964f, topicName=Logistic)], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=afa4194, createdName=cenghis, createdTime=Fri Feb 06 07:26:00 CST 2015, time=2015-02-06, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=1746725, encodeId=1eaf1e46725b2, content=<a href='/topic/show?id=88e91099e10' target=_blank style='color:#2F92EE;'>#logistic回归#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=29, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=10997, encryptionId=88e91099e10, topicName=logistic回归)], attachment=null, authenticateStatus=null, createdAvatar=null, createdBy=d3c135838005, createdName=xlwang2703, createdTime=Thu Aug 28 02:26:00 CST 2014, time=2014-08-28, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=1455103, encodeId=7ef914551036a, content=<a href='/topic/show?id=bebe8032fc' target=_blank style='color:#2F92EE;'>#GIST#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=27, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=8032, encryptionId=bebe8032fc, topicName=GIST)], attachment=null, authenticateStatus=null, createdAvatar=null, createdBy=6e445632366, createdName=july_977, createdTime=Thu May 08 03:26:00 CST 2014, time=2014-05-08, status=1, ipAttribution=)]
  5. [GetPortalCommentsPageByObjectIdResponse(id=235790, encodeId=fe46235e902a, content=挺好的.谢谢, beContent=null, objectType=article, channel=null, level=null, likeNumber=72, replyNumber=0, topicName=null, topicId=null, topicList=[], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=8d482128278, createdName=1391fc2bd4m, createdTime=Mon Aug 21 21:07:43 CST 2017, time=2017-08-21, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=24078, encodeId=09f0240e832, content=没下文了?, beContent=null, objectType=article, channel=null, level=null, likeNumber=97, replyNumber=0, topicName=null, topicId=null, topicList=[], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=fe341625261, createdName=lustigleonie, createdTime=Mon May 18 19:37:00 CST 2015, time=2015-05-18, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=1905754, encodeId=388a1905e54a7, content=<a href='/topic/show?id=9dc4109964f' target=_blank style='color:#2F92EE;'>#Logistic#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=32, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=10996, encryptionId=9dc4109964f, topicName=Logistic)], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=afa4194, createdName=cenghis, createdTime=Fri Feb 06 07:26:00 CST 2015, time=2015-02-06, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=1746725, encodeId=1eaf1e46725b2, content=<a href='/topic/show?id=88e91099e10' target=_blank style='color:#2F92EE;'>#logistic回归#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=29, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=10997, encryptionId=88e91099e10, topicName=logistic回归)], attachment=null, authenticateStatus=null, createdAvatar=null, createdBy=d3c135838005, createdName=xlwang2703, createdTime=Thu Aug 28 02:26:00 CST 2014, time=2014-08-28, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=1455103, encodeId=7ef914551036a, content=<a href='/topic/show?id=bebe8032fc' target=_blank style='color:#2F92EE;'>#GIST#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=27, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=8032, encryptionId=bebe8032fc, topicName=GIST)], attachment=null, authenticateStatus=null, createdAvatar=null, createdBy=6e445632366, createdName=july_977, createdTime=Thu May 08 03:26:00 CST 2014, time=2014-05-08, status=1, ipAttribution=)]
    2014-05-08 july_977

相关资讯

常用的SPSS函数解析

SPSS函数是一个常用程序(rountine),并且利用一个或多个自变量(参数)来执行。每个SPSS函数均有一个关键名称 (keywordname),且绝不能写错。通常,函数的格式为:函数名称(自变量,自变量,……),某些函数可能只含有一个自变量,而有些函数则可能含 有多个自变量,当一个函数含有多个自变量时,各自变量间用逗号(,)隔开,而函数的自变量通常又可分为以下三种:1)常数,如SQRT(

SPSS进行协方差分析案例讲解

1、分析原理 协方差分析是回归分析与方差分析的结合。在作两组和多组均数之间的比较前,用直线回归的方法找出各组因变量Y与协变量X之间的数量关系,求得在假定X相等时的修正均数,然后用方差分析比较修正均数之间的差别。 要求X与Y的线性关系在各组均成立,且在各组间回归系数近似相等,即回归直线平行;X的取值范围不宜过大,否则修正均数的差值在回归直线的延长线上,不能确定是否仍然满足平行性和线性关系的条件,

SPSS进行两配对样本的非参数检验(Wilcoxon符号秩检验)

一、概述 非参数检验对于总体分布没有要求,因而使用范围更广泛。对于两配对样本的非参数检验,首选Wilcoxon符号秩检验。它与配对样本t检验相对应。 二、问题 为了研究某放松方法(如听音乐)对于入睡时间的影响,选择了10名志愿者,分别记录未进行放松时的入睡时间及放松后的入睡时间(单位为分钟),数据如下笔。请问该放松方法对入睡时间有无影响。 本例可以采用配对样本t检验,但由于样本量少,数据可

SPSS进行两独立样本的非参数检验(Mann-Whitney U)

一、概述     Mann-Whitney U 检验是用得最广泛的两独立样本秩和检验方法。简单的说,该检验是与独立样本t检验相对应的方法,当正态分布、方差齐性等不能达到t检验的要求时,可以使用该检验。其假设基础是:若两个样本有差异,则他们的中心位置将不同。 三、统计操作 二、问题    为了研究某项犯罪的季节性差异,警察记

SPSS 新变量赋值方法教程

主要使用数据转换(Transform)的功能 在有些情况下,原始数据难以满足数据分析的要求,需要对原始数据进行适当的转换。SPSS具体强大的数据转换功能,它不仅可以进行简单的变量转换和重新建立分类变量,还可以进行复杂的统计函数运算以及逻辑函数运算。 在主菜单中点击Transform命令,弹出数据转换子菜单,如图所示。 新变量赋值" title="SPS

SPSS进行多个独立样本的非参数检验(Cruskal-Wallis秩和检验)

一、概述     Cruskal-Wallis秩和检验类似于方差分析,用于检验各个样本的总体是否相同,当正太假设和方差齐性不能满足时,可用该检验。 二、问题     某人搜集了三大公司股票每股所能获利的钱数,是比较三家公司所挣的钱是否相同。     SPSS版本为20。三、统计操作 SPS