楼主: jonnyshan2010
1952 4

SAS MannWhitney code [推广有奖]

  • 0关注
  • 0粉丝

学前班

40%

还不是VIP/贵宾

-

威望
0
论坛币
0 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
20 点
帖子
1
精华
0
在线时间
0 小时
注册时间
2010-2-5
最后登录
2010-2-5

楼主
jonnyshan2010 发表于 2010-2-5 22:14:35 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
data simulation;
  n=16;
  do i=1 to n;
  z1=rannor(165);
  z2=rannor(166);
  output;
  end;
run;
proc print;run;

data  simulation1;
set simulation;
二维码

扫码加我 拉你入群

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

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

关键词:MannWhitney Whitney code Mann COD SAS code MannWhitney

沙发
bobguy 发表于 2010-2-6 11:48:45
jonnyshan2010 发表于 2010-2-5 22:14
data simulation;
  n=16;
  do i=1 to n;
  z1=rannor(165);
  z2=rannor(166);
  output;
  end;
run;
proc print;run;

data  simulation1;
set simulation;
What is your question?

藤椅
jennyli1346 发表于 2010-2-7 02:19:46
two-sample MW test?

板凳
bobguy 发表于 2010-2-7 04:04:58
jennyli1346 发表于 2010-2-7 02:19
two-sample MW test?
take a look at

proc npar1way;

报纸
bobguy 发表于 2010-2-7 04:06:01
bobguy 发表于 2010-2-7 04:04
jennyli1346 发表于 2010-2-7 02:19
two-sample MW test?
take a look at

proc npar1way;
Overview: NPAR1WAY ProcedureThe NPAR1WAY procedure performs nonparametric tests for location and scale differences across a one-way classification. PROC NPAR1WAY also provides a standard analysis of variance on the raw data and tests based on the empirical distribution function.
PROC NPAR1WAY performs tests for location and scale differences based on the following scores of a response variable: Wilcoxon, median, Van der Waerden (normal), Savage, Siegel-Tukey, Ansari-Bradley, Klotz, Mood, and Conover. Additionally, PROC NPAR1WAY provides tests that use the raw input data as scores. When the data are classified into two samples, tests are based on simple linear rank statistics. When the data are classified into more than two samples, tests are based on one-way ANOVA statistics. Both asymptotic and exact p-values are available for these tests. PROC NPAR1WAY also provides Hodges-Lehmann estimation, including exact confidence limits for the location shift.
PROC NPAR1WAY computes empirical distribution function (EDF) statistics, which test whether the distribution of a variable is the same across different groups. These include the Kolmogorov-Smirnov test, the Cramer-von Mises test, and, when the data are classified into only two samples, the Kuiper test. Exact p-values are available for the two-sample Kolmogorov-Smirnov test.
PROC NPAR1WAY uses the Output Delivery System (ODS), a SAS subsystem that provides capabilities for displaying and controlling the output from SAS procedures. ODS enables you to convert any of the output from PROC NPAR1WAY into a SAS data set. See the section ODS Table Names for more information.
PROC NPAR1WAY now uses ODS Graphics to create graphs as part of its output. For general information about ODS Graphics, see Chapter 21, Statistical Graphics Using ODS. For specific information about the statistical graphics available with the NPAR1WAY procedure, see the PLOTS= option in the PROC NPAR1WAY statement and the section ODS Graphics.

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-9 11:49