由买买提看人间百态

topics

全部话题 - 话题: pval
(共0页)
o****o
发帖数: 8077
1
来自主题: Statistics版 - 请问sas如何做两万次ttest不崩溃?
作T检验,只需要三个统计量嘛,N,MEAN,STD
先求summarized statistics,再用BY-processing。跑得时间不见得少,不过至少不会
崩溃。而且这个用BY-PROCESSING可以很容易并行,最后合并结果也很容易。
134
135
136 options fullstimer;
137 data class;
138 set sashelp.class;
139 array col{20000};
140 do j=1 to dim(col); col[j]=rannor(0); end;
141 drop j;
142 run;
NOTE: There were 19 observations read from the data set SASHELP.CLASS.
NOTE: The data set WORK.CLASS has 19 observations and 20005 variables.
NOTE: DATA statement used (Total process time):... 阅读全帖
K****n
发帖数: 5970
2
看,这就是google这个网站全部的源代码:
大哥大嫂过年好!
content="text/html; charset=UTF-8">Google