作者AmigoSafin ()
看板Statistics
標題[程式] SAS Npar1way (Wilcoxon Sum Rank Test)
時間Wed May 2 01:09:46 2018
[軟體程式類別]:
SAS
[程式問題]:
資料處理、迴歸、敘述統計、logistic、probit...等
SAS
[軟體熟悉度]:
請把以下不需要的部份刪除
新手
[問題敘述]:
大家好~
我已經有dataset也整理好 要跑Npar1way in SAS
但因為我是老電腦 在最後那個proc npar1way的時候電腦從昨天開始就一直run
但是感覺像無限迴圈
一直到我手動把它取消為止
資料到proc print那一步都沒問題
所以想請大家幫忙看看是否哪裡coding出了問題
謝謝大家~~
(有得到warning:exact computation would take too much time and memory)
不知道大家的電腦是否能run 謝謝>"<
[程式範例]:
%let dirdata=/folders/myfolders;
libname sasuser "&dirdata";
run;
data sasuser.signtest;
input group $ 1-7 resp 8-15;
datalines;
Placebo 10.8871
Placebo 10.1119
Placebo 9.6308
Placebo 10.8722
Placebo 8.3266
Placebo 10.2738
Placebo 9.0807
Placebo 10.8614
Placebo 9.9325
Placebo 10.4262
Placebo 9.3528
Placebo 9.4453
Placebo 10.2084
Placebo 12.3694
Placebo 9.6391
Placebo 10.0298
Placebo 10.2288
Drug A 13.6139
Drug A 14.0631
Drug A 15.7317
Drug A 13.8665
Drug A 15.1690
Drug A 16.0335
Drug A 15.1274
Drug A 13.3538
Drug A 16.9481
Drug A 14.8268
Drug A 14.6818
Drug A 14.9626
Drug A 16.5352
Drug A 15.5917
Drug A 16.3599
Drug A 15.2915
Drug A 14.6692
Drug B 13.8617
Drug B 14.3763
Drug B 15.8420
Drug B 14.4968
Drug B 16.6533
Drug B 17.1885
Drug B 15.4727
Drug B 14.3909
Drug B 14.7038
Drug B 13.5025
Drug B 14.5688
Drug B 14.1440
Drug B 14.5191
Drug B 13.1895
Drug B 14.7274
Drug B 14.4979
Drug B 15.9795
Drug C 20.8689
Drug C 21.9599
Drug C 22.0616
Drug C 21.2870
Drug C 18.1522
Drug C 21.6553
Drug C 19.8526
Drug C 19.4649
Drug C 17.7960
Drug C 19.8651
Drug C 20.0944
Drug C 19.4916
Drug C 21.5054
Drug C 18.8796
Drug C 18.9025
Drug C 20.9404
Drug C 20.4014
;
run;
proc npar1way data=sasuser.signtest wilcoxon;
class group;
var resp;
exact wilcoxon;
run;
--
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 129.21.71.114
※ 文章網址: https://webptt.com/m.aspx?n=bbs/Statistics/M.1525194589.A.3FF.html