we read daily oil price data from online FRED, we want montly average of these. I read 2.5 Change Data Frequencies, Introduction of RATS. I do not know how to specify the compact=average.
my codes as follows.
Code: Select all
cal(d) 2000:01:01
data(format=fred) / DCOILBRENTEU
Hardmann