Dear all,
I use a sample restriction command into a "foreach" loop based on an index variable.
The problem arises when for a specific index variable the sample restriction leaves no observation and then the loop stops running notifying that no observation would be left.
I would expect/prefer that the loop keep running through the next value of the index variable instead of shutting down.
Is there any way to have the loop work beyond this "impediment"?
Best regards,
artur