How can I perform a seasonal adjustment on a panel data set with 29 economies from 2002:Q1-2019:Q4 using the X11 command?
I've tried the following code:
Code: Select all
cal(panelobs=72, q) 2002:1
data(format=xls,org=columns,sheet="data") 1//2002:1 29//2019:4 rgdp
do i=1,29
x11(mode=mult,adjusted=sa_rgdp,factors=fact_rgdp) rgdp i//2002:1 i//2019:4
end do