比如随机生成了100个服从标准正态分布随机数,要计算有多少个数属于[-1.96,1.96]
知道excel里有个count函数,SAS里不知道怎么操作?
请注明:姓名-公司-职位
以便审核进群资格,未注明则拒绝
Suppose you put the normal distributed random in a data set named nrd and with col name num.
Proc sql;
select count(*) from nrd
where num between -1.96 and 1.96;
quit;
Hope this is helpful.