Am 17.04.2020 um 13:30 schrieb Riccardo (Jack) Lucchetti:
On Fri, 17 Apr 2020, Sven Schreiber wrote:
>
>> Uhm, is this a trick question? The dialog you get with "Restrict,
>> Based on Criterion" has a radio button that does exactly what you say.
>
> That would explain why I had déjà-vus about this topic. But
> unfortunately I don't have that button here. This is 2020a on Windows
> 10. I will try to cleanly install 2020b and see what happens.
Aha! You only have that button if your currently open dataset contains
a dummy. Try this:
Yes, your example works. I think I found out the problem:
- with bjg.gdt open, in the GUI choose shorter sample
- Add/sample range dummy, don't change the setting (equal to active
sample), choose name "d"
- restore full sample
- go to Sample/restrict based on criterion
-> no radio button
It seems the dummy isn't allowed to contain missing values. Wouldn't it
make sense to treat missings as zeros in this context?
cheers
sven