Allin Cottrell a écrit :
I have now (in CVS) changed the behavior of smpl --restrict so
that it doesn't strive to produce a balanced panel 
It works fine! Thanks!
unless you give the new --balanced option.  
What still intrigues me when  using the --balanced flag is that the number of observations provided (n = xxx) doesn't fit the number of 0s (or 1s) according to FRS. Here's the output:

? smpl FRS=0 --restrict --replace --balanced
Full data set: 686 observations
Current sample: 1:1 - 97:3 (n = 291)  # there are 269 observations with FRS=0

? smpl FRS=1 --restrict --replace --balanced
Full data set: 686 observations
Current sample: 1:1 - 98:7 (n = 686) # there are 417 observations with FRS=1


Do you find it somewhat misleading?

cheers,
artur