如何纠正我观察到的错误信息?

时间:2014-03-18 19:51:36

标签: sas

运行宏%better_means后,我收到一条错误消息,但我不确定我需要更改哪些选项才能正确计算摘要统计信息。

WARNING: A shortage of memory has caused the quantile computations to terminate prematurely for QMETHOD=OS. Consider using 
             QMETHOD=P2.
    NOTE: The affected statistics will be missing from the corresponding classification levels.
    WARNING: A shortage of memory has caused the quantile computations to terminate prematurely for QMETHOD=OS. Consider using 
             QMETHOD=P2.
    NOTE: The affected statistics will be missing from the corresponding classification levels.
    NOTE: Processing on disk occurred during summarization. Peak disk usage was approximately 9 Mbytes. Adjusting SUMSIZE may improve 
          performance.

1 个答案:

答案 0 :(得分:1)

这是因为分位数(和百分位数)计算需要大量内存来运行,并使用默认的计算方法(基本上,排列所有内容然后找到5%标记等)如果你有很多对于数据,或者你有很多变量或类变量,你可能会碰到这个。考虑将运行分成多个步骤(可能在一个proc中执行某些类变量,在另一个中执行某些类变量),或者增加SAS可用的内存量。