Match identifiers
Moderators: EViews Gareth, EViews Jason, EViews Steve, EViews Moderator
Match identifiers
Is is possible to match different identifier series? What I have in mind is something like VLOOKUP in Excel.
-
- EViews Developer
- Posts: 563
- Joined: Thu Apr 25, 2013 7:48 pm
Re: Match identifiers
Hello,
While there isn't a single function for that operation, I find you can usually accomplish that type of lookup by using an intermediate dummy series. In the following example, I lookup a value in series y corresponding the first observation for which series x equals 4.5.
While there isn't a single function for that operation, I find you can usually accomplish that type of lookup by using an intermediate dummy series. In the following example, I lookup a value in series y corresponding the first observation for which series x equals 4.5.
Code: Select all
series tmp = x = 4.5
scalar result = y(@imax(tmp))
Who is online
Users browsing this forum: No registered users and 46 guests