Index match + loops

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt

jap1996
Posts: 4
Joined: Tue Mar 08, 2022 11:56 am

Index match + loops

Postby jap1996 » Tue Mar 22, 2022 12:53 pm

Hi I have built a program that scans through a table of countries and sectors. If the sector exists in the country the table shows a 1, otherwise a 0.

I now want to build a program that scans through the rows and columns of the table and depending on whether the entry is a 1 or a 0 I want to create a new variable using the column and row headers as unique identifiers. Any references on how I might be able to do this?

See below the table:

Capture.PNG
Capture.PNG (43.89 KiB) Viewed 4545 times

Return to “Programming”

Who is online

Users browsing this forum: No registered users and 15 guests