Sample Panel Data
Posted: Thu Mar 17, 2016 1:16 am
Hey,
I would like to sample in a panel workfile for all but few cross sections. All the cross sections that should be excluded have a similar pattern, i.e. they start with "aa_" and then "2", "3". I would like to exclude all cross sections that start with "aa_"
I thought of something like this:
However, I end up with a syntax error. I could not find a way to make use of the "*" symbol.
Any ideas?
I would like to sample in a panel workfile for all but few cross sections. All the cross sections that should be excluded have a similar pattern, i.e. they start with "aa_" and then "2", "3". I would like to exclude all cross sections that start with "aa_"
I thought of something like this:
Code: Select all
smpl @all if ident<>"aa_"*
Any ideas?