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

2014-05-06 王江源 王江源

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

一、概述

非参数检验对于总体分布没有要求,因而使用范围更广泛。对于两配对样本的非参数检验,首选Wilcoxon符号秩检验。它与配对样本t检验相对应。

二、问题

为了研究某放松方法(如听音乐)对于入睡时间的影响,选择了10名志愿者,分别记录未进行放松时的入睡时间及放松后的入睡时间(单位为分钟),数据如下笔。请问该放松方法对入睡时间有无影响。

本例可以采用配对样本t检验,但由于样本量少,数据可能不符合正太分布,所以考虑用非参数检验。


[转载]SPSS学习笔记之——两配对样本的非参数检验(Wilcoxon符号秩检验)


三、统计操作

数据视图

[转载]SPSS学习笔记之——两配对样本的非参数检验(Wilcoxon符号秩检验)


菜单选择

[转载]SPSS学习笔记之——两配对样本的非参数检验(Wilcoxon符号秩检验)

打开如下的对话框

[转载]SPSS学习笔记之——两配对样本的非参数检验(Wilcoxon符号秩检验)

{nextpage}

该对话框有三个选项卡,第一个选项卡会根据第三个选项卡的设置自动设置,故一般不用手动设定。点击进入“字段”选项卡。将“放松前”、“放松后”均选入右边“检验字段”框中。

[转载]SPSS学习笔记之——两配对样本的非参数检验(Wilcoxon符号秩检验)

点击进入“设置”对话框,选择检验方法,切换为“自定义检验”,选择“Wilcoxon匹配样本对符号秩(二样本)”复选框。“检验选项”可以设定显著性水平。

[转载]SPSS学习笔记之——两配对样本的非参数检验(Wilcoxon符号秩检验)

点击“运行”按钮,输出结果

四、结果解读
[转载]SPSS学习笔记之——两配对样本的非参数检验(Wilcoxon符号秩检验)

这就是输出结果。原假设示放松前好放松后差值的中位数等于0,P=0.015<0.05,拒绝原假设,认为放松前后有统计学差异。

双击该表格,会弹出如下的“模型浏览器”窗口,可以看到更详细的信息。如下图。

[转载]SPSS学习笔记之——两配对样本的非参数检验(Wilcoxon符号秩检验)

版权声明:
本网站所有内容来源注明为“梅斯医学”或“MedSci原创”的文字、图片和音视频资料,版权均属于梅斯医学所有。非经授权,任何媒体、网站或个人不得转载,授权转载时须注明来源为“梅斯医学”。其它来源的文章系转载文章,或“梅斯号”自媒体发布的文章,仅系出于传递更多信息之目的,本站仅负责审核内容合规,其内容不代表本站立场,本站不负责内容的准确性和版权。如果存在侵权、或不希望被转载的媒体或个人可与我们联系,我们将立即进行删除处理。
在此留言
评论区 (4)
#插入话题
  1. [GetPortalCommentsPageByObjectIdResponse(id=2075713, encodeId=5c0720e571332, content=<a href='/topic/show?id=27dd993421f' target=_blank style='color:#2F92EE;'>#非参数#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=35, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=99342, encryptionId=27dd993421f, topicName=非参数)], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=af68384, createdName=hanhaisha2008, createdTime=Thu Jan 08 20:36:00 CST 2015, time=2015-01-08, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=2045920, encodeId=7c202045920e7, content=<a href='/topic/show?id=7e8e99343d4' target=_blank style='color:#2F92EE;'>#非参数检验#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=36, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=99343, encryptionId=7e8e99343d4, topicName=非参数检验)], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=2ba9118, createdName=makuansheng, createdTime=Thu Sep 25 15:36:00 CST 2014, time=2014-09-25, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=1669329, encodeId=0cdd1669329d0, content=<a href='/topic/show?id=9d7b620395d' target=_blank style='color:#2F92EE;'>#样本#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=28, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=62039, encryptionId=9d7b620395d, topicName=样本)], attachment=null, authenticateStatus=null, createdAvatar=null, createdBy=f33226554040, createdName=zhzhxiang, createdTime=Sat May 24 09:36:00 CST 2014, time=2014-05-24, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=9519, encodeId=679f95190f, content=看不到啊!, beContent=null, objectType=article, channel=null, level=null, likeNumber=80, replyNumber=0, topicName=null, topicId=null, topicList=[], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=37ad1381, createdName=rjgene, createdTime=Sun May 18 23:48:00 CST 2014, time=2014-05-18, status=1, ipAttribution=)]
  2. [GetPortalCommentsPageByObjectIdResponse(id=2075713, encodeId=5c0720e571332, content=<a href='/topic/show?id=27dd993421f' target=_blank style='color:#2F92EE;'>#非参数#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=35, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=99342, encryptionId=27dd993421f, topicName=非参数)], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=af68384, createdName=hanhaisha2008, createdTime=Thu Jan 08 20:36:00 CST 2015, time=2015-01-08, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=2045920, encodeId=7c202045920e7, content=<a href='/topic/show?id=7e8e99343d4' target=_blank style='color:#2F92EE;'>#非参数检验#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=36, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=99343, encryptionId=7e8e99343d4, topicName=非参数检验)], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=2ba9118, createdName=makuansheng, createdTime=Thu Sep 25 15:36:00 CST 2014, time=2014-09-25, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=1669329, encodeId=0cdd1669329d0, content=<a href='/topic/show?id=9d7b620395d' target=_blank style='color:#2F92EE;'>#样本#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=28, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=62039, encryptionId=9d7b620395d, topicName=样本)], attachment=null, authenticateStatus=null, createdAvatar=null, createdBy=f33226554040, createdName=zhzhxiang, createdTime=Sat May 24 09:36:00 CST 2014, time=2014-05-24, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=9519, encodeId=679f95190f, content=看不到啊!, beContent=null, objectType=article, channel=null, level=null, likeNumber=80, replyNumber=0, topicName=null, topicId=null, topicList=[], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=37ad1381, createdName=rjgene, createdTime=Sun May 18 23:48:00 CST 2014, time=2014-05-18, status=1, ipAttribution=)]
  3. [GetPortalCommentsPageByObjectIdResponse(id=2075713, encodeId=5c0720e571332, content=<a href='/topic/show?id=27dd993421f' target=_blank style='color:#2F92EE;'>#非参数#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=35, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=99342, encryptionId=27dd993421f, topicName=非参数)], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=af68384, createdName=hanhaisha2008, createdTime=Thu Jan 08 20:36:00 CST 2015, time=2015-01-08, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=2045920, encodeId=7c202045920e7, content=<a href='/topic/show?id=7e8e99343d4' target=_blank style='color:#2F92EE;'>#非参数检验#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=36, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=99343, encryptionId=7e8e99343d4, topicName=非参数检验)], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=2ba9118, createdName=makuansheng, createdTime=Thu Sep 25 15:36:00 CST 2014, time=2014-09-25, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=1669329, encodeId=0cdd1669329d0, content=<a href='/topic/show?id=9d7b620395d' target=_blank style='color:#2F92EE;'>#样本#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=28, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=62039, encryptionId=9d7b620395d, topicName=样本)], attachment=null, authenticateStatus=null, createdAvatar=null, createdBy=f33226554040, createdName=zhzhxiang, createdTime=Sat May 24 09:36:00 CST 2014, time=2014-05-24, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=9519, encodeId=679f95190f, content=看不到啊!, beContent=null, objectType=article, channel=null, level=null, likeNumber=80, replyNumber=0, topicName=null, topicId=null, topicList=[], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=37ad1381, createdName=rjgene, createdTime=Sun May 18 23:48:00 CST 2014, time=2014-05-18, status=1, ipAttribution=)]
    2014-05-24 zhzhxiang
  4. [GetPortalCommentsPageByObjectIdResponse(id=2075713, encodeId=5c0720e571332, content=<a href='/topic/show?id=27dd993421f' target=_blank style='color:#2F92EE;'>#非参数#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=35, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=99342, encryptionId=27dd993421f, topicName=非参数)], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=af68384, createdName=hanhaisha2008, createdTime=Thu Jan 08 20:36:00 CST 2015, time=2015-01-08, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=2045920, encodeId=7c202045920e7, content=<a href='/topic/show?id=7e8e99343d4' target=_blank style='color:#2F92EE;'>#非参数检验#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=36, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=99343, encryptionId=7e8e99343d4, topicName=非参数检验)], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=2ba9118, createdName=makuansheng, createdTime=Thu Sep 25 15:36:00 CST 2014, time=2014-09-25, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=1669329, encodeId=0cdd1669329d0, content=<a href='/topic/show?id=9d7b620395d' target=_blank style='color:#2F92EE;'>#样本#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=28, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=62039, encryptionId=9d7b620395d, topicName=样本)], attachment=null, authenticateStatus=null, createdAvatar=null, createdBy=f33226554040, createdName=zhzhxiang, createdTime=Sat May 24 09:36:00 CST 2014, time=2014-05-24, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=9519, encodeId=679f95190f, content=看不到啊!, beContent=null, objectType=article, channel=null, level=null, likeNumber=80, replyNumber=0, topicName=null, topicId=null, topicList=[], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=37ad1381, createdName=rjgene, createdTime=Sun May 18 23:48:00 CST 2014, time=2014-05-18, status=1, ipAttribution=)]
    2014-05-18 rjgene

    看不到啊!

    0

相关资讯

常用的SPSS函数解析

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

利用SPSS Tables快速建立高质量的报表

  经常需要将分析结果呈现给决策者、同事、客户或其他人,但是,制作报表是一个非常费时间、反复尝试的过程。SPSS Tables对于表格的结构具有“所见即所得”的特点,帮助你在较少时间里,做出美观、精确的表格。MedSci小编提示,还可以利用这个功能建立临床病历管理,近似CRF表的功能。虽然目前还没有epidata这样方便,但是更易于上手。          1、什么

利用SPSS进行时间序列预测统计分析

时间序列(Time-Series Forecasting)的预测问题!预测:是对尚未发生或目前还不明确的事物进行预先的估计和推测,是在现时对事物将要发生的结果进行探讨和研究,简单地说就是指从已知事件测定未知事件。为什么要预测呢,因为预测可以帮助了解事物发展的未来状况后,人们可以在目前为它的到来做好准备,通过预测可以了解目前的决策所可能带来的后果,并通过对后果的分析来确定目前的决策,力争使目前的

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

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

如何用SPSS进行数据校验和核查工作

    在Epidata中,重要功能是数据校验和核查,那么SPSS可以吗?实际上在SPSS14.0以后的版本均有此功能。MedSci小编向大家详细介绍:  传统的人工校对很麻烦,而一些常用的数据管理软件,如Epidata,也有数据校验的功能,尤其在双份录入时,相当方便。但SPSS在此方面,老版本比较逊色,但新增版本增加了这方面功能。SPSS14.0新增的Data Va

SPSS 新变量赋值方法教程

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