I need to generate a number of samples in a dataset using the 6 and 7th characters from an alpha series with 60K records. Here is an example data point:
02101OP0004
I've tried tyo sample the set using various combinations of wildcards to not avail - I get "sample has no observations". Here are example sample statements.
if contractum="?????OP????"
if contractnum="*OP*"
Help please!
sampling
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: sampling
if @mid(contractum,6,2) = "OP"
Who is online
Users browsing this forum: No registered users and 2 guests
