Hello,
I have two alpha objects and I want to test whether the elements of one are in the other. Is there any way of doing this?
Thanks,
Javier
Matching contents of alpha
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Matching contents of alpha
The only way to do this is to create a string containing the elements of the alpha series (and you can only do that by creating a for loop that loops through the elements and adds them to the string list), and then use something like @wunique to get the list of elements in both. If you have many observations, this might become unworkable.
Re: Matching contents of alpha
Thanks Gareth, a loop will do.
Who is online
Users browsing this forum: No registered users and 2 guests
