Allow me to share my first blog ever blog in EViews, I will show you how to use the JDemetra+ seasonal adjustment with EViews for a panel of current account balances series of 38 European countries coming from Eurostat. We are going to reproduce the following graph:

We had to use seasonal adjustment for current account balance series, in the context of a project with Eric Clower and Hiro Ito on current account persistence. The data has to be organized in a wide format:

'Import the data
import C:\Users\jamel\Dropbox\Latex\PROJECTS\22-11-cur-persistence\data\UPDATE_MAY_2025\euro_stat_wide_525.xlsx range=Feuil1 colhead=1 na="#N/A" @freq Q @id @date(period) @smpl @all
pagerename Euro_stat_wide_525 data
delete graph_*
'delete euro_area__19_countries_
'delete european_union
'delete g7
'delete oecd___total
'delete saudi_arabia
'philippines.sheet
for %v ALBANIA AUSTRIA BELGIUM BOSNIA_AND_HERZEGOVINA BULGARIA CROATIA CYPRUS CZECHIA DENMARK ESTONIA FINLAND FRANCE GERMANY GREECE HUNGARY ICELAND IRELAND ITALY KOSOVO LATVIA LITHUANIA LUXEMBOURG MALTA MONTENEGRO NETHERLANDS NORTH_MACEDONIA NORWAY POLAND PORTUGAL ROMANIA SERBIA SLOVAKIA SLOVENIA SPAIN SWEDEN SWITZERLAND TURKIYE UNITED_KINGDOM
'drop {%v}_cyc {%v}_hat {%v}_ir {%v}_lin {%v}_pol {%v}_sa {%v}_sf {%v}_trd
smpl @all
smpl @ALL IF {%v}<>NA
{%v}.jdemetra {%v}
graph graph_{%v}.line {%v} {%v}_d11
show graph_{%v}
smpl @all
next
for %v ALBANIA AUSTRIA BELGIUM BOSNIA_AND_HERZEGOVINA BULGARIA CROATIA CYPRUS CZECHIA DENMARK ESTONIA FINLAND FRANCE GERMANY GREECE HUNGARY ICELAND IRELAND ITALY KOSOVO LATVIA LITHUANIA LUXEMBOURG MALTA MONTENEGRO NETHERLANDS NORTH_MACEDONIA NORWAY POLAND PORTUGAL ROMANIA SERBIA SLOVAKIA SLOVENIA SPAIN SWEDEN SWITZERLAND TURKIYE UNITED_KINGDOM
rename {%v}_d11 casa_{%v}
next
'Then, the stacked file can be used and has a panel data structure
pagestack casa_? @ *? *
The loop produceS the graphs for all the countries, but for the sake of brevity, I will show the case of Spain:

With the stacked data sheet, you can make a very nice fan chart:

Before leaving, allow me to share you this YouTube video on JDemetra+ adjustment: