全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
1697 7
2010-04-28
在计量资料分析里面
多组均数的比较,可以用ANOVA和GLM过程,GLM是对非均衡设计的方差分析,也可以做均衡设计的方差分析
问题是:无论是GLM还是ANOVA都是要求正态方差齐性,那么我做正态性检验(n<2000, Shapiro-Wilk检验)全部是正态性,但是方差齐性检验( Levene's Test)方差不齐,另外实验设计属于非均衡设计,这个时候采用非参数检验,但是非参数检验的H0假设是多组之间的分布状态相同,H1假设是不全相同,那么这个时候我可以这样说明吗?就是如果得出的Kruskal-Wallis Test的P值小于0.05,就认为这多组所代表的总体均值的差异是有统计学意义的?另外如何在SAS里面进行多组之间两两比较的非参数检验呢?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2010-4-28 11:43:02
路过,留下我的背影。
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2010-4-28 11:49:29
多维的,bon ,dun,reg 额。。
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2010-4-28 12:05:36
不是说多维的均向量的比较哦
是一维的哦
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2010-4-28 13:37:30
Proc npar1way performs nonparametric tests in a one factor model having 2 or more levels. Proc univariate can be used in the case of a single sample. Example:


proc npar1way
        data=stuff
        anova
        edf
        median
        wilcoxon;
class litter;                /* REQUIRED */
var weight height;
run;


The data=stuff option selects the SAS data set to be analyzed.

The anova option performs a one way ANOVA using the values of the class variable to define the populations.

The edf option calculates statistics based on the empirical distribution function. The Kolmogorov-Smirnov and Cramer-von Mises statistics are always calculated. If there are only 2 populations (as determined by the value of the class variable) the Kuiper statistic is also computed.

The median option performs the median or Brown-Mood test, depending on the number of populations.

The wilcoxon performs the Wilcoxon rank sum test or the Kruskal- Wallis test, depending on the number of populations.

The REQUIRED class statement specifies exactly one variable in the data set. The values of this variable are used to determine the population from which the corresponding observation comes. This variable MUST take at least 2 different values.

The optional var statement specifies the response variables which are to be analyzed. If the statement is omitted, all numeric variables in the data set are used.
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2010-4-28 13:38:25
PROC NPAR1WAY data=t62 wilcoxon;
CLASS grp;
VAR y;
TITLE1 'Nonparametric Analysis: Kruskall Wallis stat';
run;
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群