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

2014-05-06 MedSci MedSci原创

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

一、概述

    Mann-Whitney U 检验是用得最广泛的两独立样本秩和检验方法。简单的说,该检验是与独立样本t检验相对应的方法,当正态分布、方差齐性等不能达到t检验的要求时,可以使用该检验。其假设基础是:若两个样本有差异,则他们的中心位置将不同。

三、统计操作

二、问题

   为了研究某项犯罪的季节性差异,警察记录了10年来春季和夏季的犯罪数量,请问该项犯罪在春季和夏季有无差异。

   下面使用Mann-Whitney U检验进行分析。 SPSS版本为20。

SPSS变量视图: 

[转载]SPSS学习笔记之——两独立样本的非参数检验(Mann-Whitney <wbr>U


SPSS数据视图:

[转载]SPSS学习笔记之——两独立样本的非参数检验(Mann-Whitney <wbr>U


进入菜单如下图:

[转载]SPSS学习笔记之——两独立样本的非参数检验(Mann-Whitney <wbr>U


点击进入如下的界面,“目标”选项卡不需要手动设置

[转载]SPSS学习笔记之——两独立样本的非参数检验(Mann-Whitney <wbr>U


进入“字段”选项卡,将“报警数量”选入“检验字段”框,将“季节”选入“组”框中。

[转载]SPSS学习笔记之——两独立样本的非参数检验(Mann-Whitney <wbr>U


再进入“设置”选项卡,选中“自定义检验”单选按钮,选择“Mann-Whitney U(二样本)”检验。点击“运行”即可。

[转载]SPSS学习笔记之——两独立样本的非参数检验(Mann-Whitney <wbr>U


四、结果解读


这是输出的主要结果,零假设是“报警数量的分布在季节类别上相同”,其P=0.009<0.05,故拒绝原假设,认为报警数量在季节上有统计学差异。


[转载]SPSS学习笔记之——两独立样本的非参数检验(Mann-Whitney <wbr>U

版权声明:
本网站所有内容来源注明为“梅斯医学”或“MedSci原创”的文字、图片和音视频资料,版权均属于梅斯医学所有。非经授权,任何媒体、网站或个人不得转载,授权转载时须注明来源为“梅斯医学”。其它来源的文章系转载文章,或“梅斯号”自媒体发布的文章,仅系出于传递更多信息之目的,本站仅负责审核内容合规,其内容不代表本站立场,本站不负责内容的准确性和版权。如果存在侵权、或不希望被转载的媒体或个人可与我们联系,我们将立即进行删除处理。
在此留言
评论区 (4)
#插入话题
  1. [GetPortalCommentsPageByObjectIdResponse(id=2045921, encodeId=17be204592156, content=<a href='/topic/show?id=7e8e99343d4' target=_blank style='color:#2F92EE;'>#非参数检验#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=48, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=99343, encryptionId=7e8e99343d4, topicName=非参数检验)], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=2ba9118, createdName=makuansheng, createdTime=Fri Jan 16 02:39:00 CST 2015, time=2015-01-16, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=2075714, encodeId=850620e5714cd, content=<a href='/topic/show?id=27dd993421f' target=_blank style='color:#2F92EE;'>#非参数#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=37, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=99342, encryptionId=27dd993421f, topicName=非参数)], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=af68384, createdName=hanhaisha2008, createdTime=Fri Sep 12 11:39:00 CST 2014, time=2014-09-12, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=1894495, encodeId=9f021894495fa, content=<a href='/topic/show?id=7e2688e517' target=_blank style='color:#2F92EE;'>#HIT#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=42, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=8875, encryptionId=7e2688e517, topicName=HIT)], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=583c133, createdName=yuandd, createdTime=Sun Nov 02 01:39:00 CST 2014, time=2014-11-02, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=1669330, encodeId=86ed16693302d, content=<a href='/topic/show?id=9d7b620395d' target=_blank style='color:#2F92EE;'>#样本#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=32, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=62039, encryptionId=9d7b620395d, topicName=样本)], attachment=null, authenticateStatus=null, createdAvatar=null, createdBy=f33226554040, createdName=zhzhxiang, createdTime=Wed May 07 09:39:00 CST 2014, time=2014-05-07, status=1, ipAttribution=)]
  2. [GetPortalCommentsPageByObjectIdResponse(id=2045921, encodeId=17be204592156, content=<a href='/topic/show?id=7e8e99343d4' target=_blank style='color:#2F92EE;'>#非参数检验#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=48, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=99343, encryptionId=7e8e99343d4, topicName=非参数检验)], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=2ba9118, createdName=makuansheng, createdTime=Fri Jan 16 02:39:00 CST 2015, time=2015-01-16, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=2075714, encodeId=850620e5714cd, content=<a href='/topic/show?id=27dd993421f' target=_blank style='color:#2F92EE;'>#非参数#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=37, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=99342, encryptionId=27dd993421f, topicName=非参数)], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=af68384, createdName=hanhaisha2008, createdTime=Fri Sep 12 11:39:00 CST 2014, time=2014-09-12, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=1894495, encodeId=9f021894495fa, content=<a href='/topic/show?id=7e2688e517' target=_blank style='color:#2F92EE;'>#HIT#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=42, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=8875, encryptionId=7e2688e517, topicName=HIT)], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=583c133, createdName=yuandd, createdTime=Sun Nov 02 01:39:00 CST 2014, time=2014-11-02, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=1669330, encodeId=86ed16693302d, content=<a href='/topic/show?id=9d7b620395d' target=_blank style='color:#2F92EE;'>#样本#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=32, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=62039, encryptionId=9d7b620395d, topicName=样本)], attachment=null, authenticateStatus=null, createdAvatar=null, createdBy=f33226554040, createdName=zhzhxiang, createdTime=Wed May 07 09:39:00 CST 2014, time=2014-05-07, status=1, ipAttribution=)]
  3. [GetPortalCommentsPageByObjectIdResponse(id=2045921, encodeId=17be204592156, content=<a href='/topic/show?id=7e8e99343d4' target=_blank style='color:#2F92EE;'>#非参数检验#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=48, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=99343, encryptionId=7e8e99343d4, topicName=非参数检验)], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=2ba9118, createdName=makuansheng, createdTime=Fri Jan 16 02:39:00 CST 2015, time=2015-01-16, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=2075714, encodeId=850620e5714cd, content=<a href='/topic/show?id=27dd993421f' target=_blank style='color:#2F92EE;'>#非参数#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=37, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=99342, encryptionId=27dd993421f, topicName=非参数)], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=af68384, createdName=hanhaisha2008, createdTime=Fri Sep 12 11:39:00 CST 2014, time=2014-09-12, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=1894495, encodeId=9f021894495fa, content=<a href='/topic/show?id=7e2688e517' target=_blank style='color:#2F92EE;'>#HIT#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=42, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=8875, encryptionId=7e2688e517, topicName=HIT)], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=583c133, createdName=yuandd, createdTime=Sun Nov 02 01:39:00 CST 2014, time=2014-11-02, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=1669330, encodeId=86ed16693302d, content=<a href='/topic/show?id=9d7b620395d' target=_blank style='color:#2F92EE;'>#样本#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=32, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=62039, encryptionId=9d7b620395d, topicName=样本)], attachment=null, authenticateStatus=null, createdAvatar=null, createdBy=f33226554040, createdName=zhzhxiang, createdTime=Wed May 07 09:39:00 CST 2014, time=2014-05-07, status=1, ipAttribution=)]
    2014-11-02 yuandd
  4. [GetPortalCommentsPageByObjectIdResponse(id=2045921, encodeId=17be204592156, content=<a href='/topic/show?id=7e8e99343d4' target=_blank style='color:#2F92EE;'>#非参数检验#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=48, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=99343, encryptionId=7e8e99343d4, topicName=非参数检验)], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=2ba9118, createdName=makuansheng, createdTime=Fri Jan 16 02:39:00 CST 2015, time=2015-01-16, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=2075714, encodeId=850620e5714cd, content=<a href='/topic/show?id=27dd993421f' target=_blank style='color:#2F92EE;'>#非参数#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=37, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=99342, encryptionId=27dd993421f, topicName=非参数)], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=af68384, createdName=hanhaisha2008, createdTime=Fri Sep 12 11:39:00 CST 2014, time=2014-09-12, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=1894495, encodeId=9f021894495fa, content=<a href='/topic/show?id=7e2688e517' target=_blank style='color:#2F92EE;'>#HIT#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=42, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=8875, encryptionId=7e2688e517, topicName=HIT)], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=583c133, createdName=yuandd, createdTime=Sun Nov 02 01:39:00 CST 2014, time=2014-11-02, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=1669330, encodeId=86ed16693302d, content=<a href='/topic/show?id=9d7b620395d' target=_blank style='color:#2F92EE;'>#样本#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=32, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=62039, encryptionId=9d7b620395d, topicName=样本)], attachment=null, authenticateStatus=null, createdAvatar=null, createdBy=f33226554040, createdName=zhzhxiang, createdTime=Wed May 07 09:39:00 CST 2014, time=2014-05-07, status=1, ipAttribution=)]
    2014-05-07 zhzhxiang

相关资讯

常用的SPSS函数解析

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

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

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

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

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

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

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

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

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

SPSS 新变量赋值方法教程

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