这是代码:
COMPUTE Quarter=TRUNC((MONTH_-1)/3)+1.
EXECUTE.
DELETE VARIABLES MONTH_ DATE_.
DATASET NAME KV.
DATASET DECLARE byQuarter.
AGGREGATE /OUTFILE='byQuarter' /BREAK=YEAR_ Quarter /KV.1 TO KV.126=MEAN(KV.1 TO KV.126).
DATASET ACTIVATE byQuarter.
此代码之前没有select大小写。有人可以帮助解决此错误吗?
答案 0 :(得分:0)
尝试一下:
AGGREGATE /OUTFILE='byQuarter' /BREAK=YEAR_ Quarter
/KV.1_mean=MEAN(KV.1)
/KV.2_mean=MEAN(KV.2)
/KV.3_mean=MEAN(KV.3)
/KV.4_mean=MEAN(KV.4)
/KV.5_mean=MEAN(KV.5)
...