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

2014-05-06 MedSci MedSci原创

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

一、概述
   
Cruskal-Wallis秩和检验类似于方差分析,用于检验各个样本的总体是否相同,当正太假设和方差齐性不能满足时,可用该检验。

二、问题
   
某人搜集了三大公司股票每股所能获利的钱数,是比较三家公司所挣的钱是否相同。
   
SPSS版本为20。

三、统计操作

SPSS变量视图


SPSS数据视图



选择菜单:



进入如下的对话框,该选项卡不需要手动设置



进入“字段”选项卡,将“获利”选入“检验字段”框,将“公司”选入分组



进入“设置”选项卡,选择“Kruskal-Wallis单因素ANOVA(k样本)”检验,在下方“多重比较”下拉菜单中,可选“所有成对比较”(类似于方差分析多重比较中的LSD),也可选“逐步降低”(类似于S-N-K法),这里选择“逐步降低”。



点击运行即可。

{nextpage}

四、结果解读



上表是主要输出结果,拒绝原假设,认为三个公司的获利能力有统计学差异。

双击该表,可获得更多的信息,如下图:




在下方的“视图”下拉菜单中选择“逐步降低”,可进入下面的多重比较界面:



这类似于方差分析中多重比较的S-N-K法,将样本分为几个子集,同一子集内的样本无统计学差异,不同子集内的样本有统计学差异。本题中,药品公司与计算机公司、服务公司这两个公司之间有统计学差异,计算机公司、服务公司之间无统计学差异。


版权声明:
本网站所有内容来源注明为“梅斯医学”或“MedSci原创”的文字、图片和音视频资料,版权均属于梅斯医学所有。非经授权,任何媒体、网站或个人不得转载,授权转载时须注明来源为“梅斯医学”。其它来源的文章系转载文章,或“梅斯号”自媒体发布的文章,仅系出于传递更多信息之目的,本站仅负责审核内容合规,其内容不代表本站立场,本站不负责内容的准确性和版权。如果存在侵权、或不希望被转载的媒体或个人可与我们联系,我们将立即进行删除处理。
在此留言
评论区 (5)
#插入话题
  1. [GetPortalCommentsPageByObjectIdResponse(id=1669331, encodeId=c0b216693316e, content=<a href='/topic/show?id=9d7b620395d' target=_blank style='color:#2F92EE;'>#样本#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=57, 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 Nov 29 04:39:00 CST 2014, time=2014-11-29, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=2075715, encodeId=d76720e57157c, content=<a href='/topic/show?id=27dd993421f' target=_blank style='color:#2F92EE;'>#非参数#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=38, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=99342, encryptionId=27dd993421f, topicName=非参数)], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=af68384, createdName=hanhaisha2008, createdTime=Tue Dec 16 20:39:00 CST 2014, time=2014-12-16, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=2045922, encodeId=4471204592290, content=<a href='/topic/show?id=7e8e99343d4' target=_blank style='color:#2F92EE;'>#非参数检验#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=0, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=99343, encryptionId=7e8e99343d4, topicName=非参数检验)], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=2ba9118, createdName=makuansheng, createdTime=Wed Jun 25 18:39:00 CST 2014, time=2014-06-25, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=9511, encodeId=f334951169, content=非常实用!本次讲座非常精彩, beContent=null, objectType=article, channel=null, level=null, likeNumber=137, replyNumber=0, topicName=null, topicId=null, topicList=[], attachment=null, authenticateStatus=null, createdAvatar=https://wx.qlogo.cn/mmopen/Q3auHgzwzM68e6IGzO8R3Dg3Vq9zJicIDZQxQmORIMf3X5b65ZTKjqag3Jw1xjr7PyOadRb3d3F4Boo2brrF2MA/0, createdBy=967f94952, createdName=ishow, createdTime=Sun May 18 12:10:00 CST 2014, time=2014-05-18, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=1328855, encodeId=143b132885547, content=<a href='/topic/show?id=bb96232801' target=_blank style='color:#2F92EE;'>#ALL#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=41, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=2328, encryptionId=bb96232801, topicName=ALL)], attachment=null, authenticateStatus=null, createdAvatar=http://thirdqq.qlogo.cn/qqapp/1103841572/C2EFD5CFB07FE291138AD4FD0C98E3DE/100, createdBy=e3d52500031, createdName=膀胱癌, createdTime=Thu May 08 02:39:00 CST 2014, time=2014-05-08, status=1, ipAttribution=)]
    2014-11-29 zhzhxiang
  2. [GetPortalCommentsPageByObjectIdResponse(id=1669331, encodeId=c0b216693316e, content=<a href='/topic/show?id=9d7b620395d' target=_blank style='color:#2F92EE;'>#样本#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=57, 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 Nov 29 04:39:00 CST 2014, time=2014-11-29, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=2075715, encodeId=d76720e57157c, content=<a href='/topic/show?id=27dd993421f' target=_blank style='color:#2F92EE;'>#非参数#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=38, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=99342, encryptionId=27dd993421f, topicName=非参数)], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=af68384, createdName=hanhaisha2008, createdTime=Tue Dec 16 20:39:00 CST 2014, time=2014-12-16, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=2045922, encodeId=4471204592290, content=<a href='/topic/show?id=7e8e99343d4' target=_blank style='color:#2F92EE;'>#非参数检验#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=0, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=99343, encryptionId=7e8e99343d4, topicName=非参数检验)], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=2ba9118, createdName=makuansheng, createdTime=Wed Jun 25 18:39:00 CST 2014, time=2014-06-25, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=9511, encodeId=f334951169, content=非常实用!本次讲座非常精彩, beContent=null, objectType=article, channel=null, level=null, likeNumber=137, replyNumber=0, topicName=null, topicId=null, topicList=[], attachment=null, authenticateStatus=null, createdAvatar=https://wx.qlogo.cn/mmopen/Q3auHgzwzM68e6IGzO8R3Dg3Vq9zJicIDZQxQmORIMf3X5b65ZTKjqag3Jw1xjr7PyOadRb3d3F4Boo2brrF2MA/0, createdBy=967f94952, createdName=ishow, createdTime=Sun May 18 12:10:00 CST 2014, time=2014-05-18, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=1328855, encodeId=143b132885547, content=<a href='/topic/show?id=bb96232801' target=_blank style='color:#2F92EE;'>#ALL#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=41, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=2328, encryptionId=bb96232801, topicName=ALL)], attachment=null, authenticateStatus=null, createdAvatar=http://thirdqq.qlogo.cn/qqapp/1103841572/C2EFD5CFB07FE291138AD4FD0C98E3DE/100, createdBy=e3d52500031, createdName=膀胱癌, createdTime=Thu May 08 02:39:00 CST 2014, time=2014-05-08, status=1, ipAttribution=)]
  3. [GetPortalCommentsPageByObjectIdResponse(id=1669331, encodeId=c0b216693316e, content=<a href='/topic/show?id=9d7b620395d' target=_blank style='color:#2F92EE;'>#样本#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=57, 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 Nov 29 04:39:00 CST 2014, time=2014-11-29, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=2075715, encodeId=d76720e57157c, content=<a href='/topic/show?id=27dd993421f' target=_blank style='color:#2F92EE;'>#非参数#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=38, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=99342, encryptionId=27dd993421f, topicName=非参数)], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=af68384, createdName=hanhaisha2008, createdTime=Tue Dec 16 20:39:00 CST 2014, time=2014-12-16, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=2045922, encodeId=4471204592290, content=<a href='/topic/show?id=7e8e99343d4' target=_blank style='color:#2F92EE;'>#非参数检验#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=0, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=99343, encryptionId=7e8e99343d4, topicName=非参数检验)], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=2ba9118, createdName=makuansheng, createdTime=Wed Jun 25 18:39:00 CST 2014, time=2014-06-25, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=9511, encodeId=f334951169, content=非常实用!本次讲座非常精彩, beContent=null, objectType=article, channel=null, level=null, likeNumber=137, replyNumber=0, topicName=null, topicId=null, topicList=[], attachment=null, authenticateStatus=null, createdAvatar=https://wx.qlogo.cn/mmopen/Q3auHgzwzM68e6IGzO8R3Dg3Vq9zJicIDZQxQmORIMf3X5b65ZTKjqag3Jw1xjr7PyOadRb3d3F4Boo2brrF2MA/0, createdBy=967f94952, createdName=ishow, createdTime=Sun May 18 12:10:00 CST 2014, time=2014-05-18, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=1328855, encodeId=143b132885547, content=<a href='/topic/show?id=bb96232801' target=_blank style='color:#2F92EE;'>#ALL#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=41, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=2328, encryptionId=bb96232801, topicName=ALL)], attachment=null, authenticateStatus=null, createdAvatar=http://thirdqq.qlogo.cn/qqapp/1103841572/C2EFD5CFB07FE291138AD4FD0C98E3DE/100, createdBy=e3d52500031, createdName=膀胱癌, createdTime=Thu May 08 02:39:00 CST 2014, time=2014-05-08, status=1, ipAttribution=)]
  4. [GetPortalCommentsPageByObjectIdResponse(id=1669331, encodeId=c0b216693316e, content=<a href='/topic/show?id=9d7b620395d' target=_blank style='color:#2F92EE;'>#样本#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=57, 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 Nov 29 04:39:00 CST 2014, time=2014-11-29, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=2075715, encodeId=d76720e57157c, content=<a href='/topic/show?id=27dd993421f' target=_blank style='color:#2F92EE;'>#非参数#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=38, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=99342, encryptionId=27dd993421f, topicName=非参数)], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=af68384, createdName=hanhaisha2008, createdTime=Tue Dec 16 20:39:00 CST 2014, time=2014-12-16, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=2045922, encodeId=4471204592290, content=<a href='/topic/show?id=7e8e99343d4' target=_blank style='color:#2F92EE;'>#非参数检验#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=0, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=99343, encryptionId=7e8e99343d4, topicName=非参数检验)], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=2ba9118, createdName=makuansheng, createdTime=Wed Jun 25 18:39:00 CST 2014, time=2014-06-25, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=9511, encodeId=f334951169, content=非常实用!本次讲座非常精彩, beContent=null, objectType=article, channel=null, level=null, likeNumber=137, replyNumber=0, topicName=null, topicId=null, topicList=[], attachment=null, authenticateStatus=null, createdAvatar=https://wx.qlogo.cn/mmopen/Q3auHgzwzM68e6IGzO8R3Dg3Vq9zJicIDZQxQmORIMf3X5b65ZTKjqag3Jw1xjr7PyOadRb3d3F4Boo2brrF2MA/0, createdBy=967f94952, createdName=ishow, createdTime=Sun May 18 12:10:00 CST 2014, time=2014-05-18, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=1328855, encodeId=143b132885547, content=<a href='/topic/show?id=bb96232801' target=_blank style='color:#2F92EE;'>#ALL#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=41, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=2328, encryptionId=bb96232801, topicName=ALL)], attachment=null, authenticateStatus=null, createdAvatar=http://thirdqq.qlogo.cn/qqapp/1103841572/C2EFD5CFB07FE291138AD4FD0C98E3DE/100, createdBy=e3d52500031, createdName=膀胱癌, createdTime=Thu May 08 02:39:00 CST 2014, time=2014-05-08, status=1, ipAttribution=)]
    2014-05-18 ishow

    非常实用!本次讲座非常精彩

    0

  5. [GetPortalCommentsPageByObjectIdResponse(id=1669331, encodeId=c0b216693316e, content=<a href='/topic/show?id=9d7b620395d' target=_blank style='color:#2F92EE;'>#样本#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=57, 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 Nov 29 04:39:00 CST 2014, time=2014-11-29, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=2075715, encodeId=d76720e57157c, content=<a href='/topic/show?id=27dd993421f' target=_blank style='color:#2F92EE;'>#非参数#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=38, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=99342, encryptionId=27dd993421f, topicName=非参数)], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=af68384, createdName=hanhaisha2008, createdTime=Tue Dec 16 20:39:00 CST 2014, time=2014-12-16, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=2045922, encodeId=4471204592290, content=<a href='/topic/show?id=7e8e99343d4' target=_blank style='color:#2F92EE;'>#非参数检验#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=0, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=99343, encryptionId=7e8e99343d4, topicName=非参数检验)], attachment=null, authenticateStatus=null, createdAvatar=, createdBy=2ba9118, createdName=makuansheng, createdTime=Wed Jun 25 18:39:00 CST 2014, time=2014-06-25, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=9511, encodeId=f334951169, content=非常实用!本次讲座非常精彩, beContent=null, objectType=article, channel=null, level=null, likeNumber=137, replyNumber=0, topicName=null, topicId=null, topicList=[], attachment=null, authenticateStatus=null, createdAvatar=https://wx.qlogo.cn/mmopen/Q3auHgzwzM68e6IGzO8R3Dg3Vq9zJicIDZQxQmORIMf3X5b65ZTKjqag3Jw1xjr7PyOadRb3d3F4Boo2brrF2MA/0, createdBy=967f94952, createdName=ishow, createdTime=Sun May 18 12:10:00 CST 2014, time=2014-05-18, status=1, ipAttribution=), GetPortalCommentsPageByObjectIdResponse(id=1328855, encodeId=143b132885547, content=<a href='/topic/show?id=bb96232801' target=_blank style='color:#2F92EE;'>#ALL#</a>, beContent=null, objectType=article, channel=null, level=null, likeNumber=41, replyNumber=0, topicName=null, topicId=null, topicList=[TopicDto(id=2328, encryptionId=bb96232801, topicName=ALL)], attachment=null, authenticateStatus=null, createdAvatar=http://thirdqq.qlogo.cn/qqapp/1103841572/C2EFD5CFB07FE291138AD4FD0C98E3DE/100, createdBy=e3d52500031, createdName=膀胱癌, createdTime=Thu May 08 02:39:00 CST 2014, time=2014-05-08, status=1, ipAttribution=)]
    2014-05-08 膀胱癌

相关资讯

常用的SPSS函数解析

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

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

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

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