要判断数据是否来自一个对称分布,查到一篇文章,里面介绍了一些方法,并且给出了这两个sas宏,可是我不懂宏,请教各位大侠,这宏个能不能直接用,是不是这里只给出了作者定义的宏的名称,不能直接调用啊?
SAS macros:
1) %symm(ds=,var=);
ds=name of the dataset
var=variable to be checked for symmetry
2) %symmchk(ds=,chkvar=);
ds=name of the dataset
chkvar=variable to be checked for symmetry
The second macro is the extension of the first one. Both macros use simple SAS procedures such as PROC SORT or PROC UNIVARIATE,along with extensive iterative loops that are required for some of the methods for assessing symmetry discussed above.