On Fri, 7 Jan 2022, Sven Schreiber wrote:
Am 07.01.2022 um 03:41 schrieb Allin Cottrell:
> On Thu, 6 Jan 2022, Sven Schreiber wrote:
>
>> it looks as if the panel-time information in the current dataset is lost
>> when:
>>
>> 1) a user-written hansl function is executed which internally plays
>> around with and repeatedly resets the sample
>>
>> 2) before calling that function, the current panel dataset is restricted
>> (in the time dimension)
>
> If you could devise a minimal case in point that would be helpful.
OK, I was hoping to avoid that, but here it is (attached script plus data).
Notice that the function statio_contrasts_test2 is not a minimal
example, but the point is that it's called and while it should not
affect the outer scope, it seems it somehow does. My suspicion is
through the sample restrictions inside.
Thanks. I see what you mean. We simply don't have apparatus in place
at present to handle modification and restoration of "panel time"
information across calls to functions.
I don't have time to work on this right now, but it seems like
something that ought to be fixed when somebody has the time to do
so.
Allin