On Mon, 9 Sep 2019, Riccardo (Jack) Lucchetti wrote:
On Mon, 9 Sep 2019, Allin Cottrell wrote:
> Sorry, I haven't been following this very closely, but might it work just
> to check whether the putative "crossdim_index_series" has correlation 1.0
> with $unit? And similarly for the built-in "time" if you want to check for
> a putative panel-time variable.
Whell, not necessarily. It may happen that the unit identifier variable
doesn't have regular increments. Example:
<hansl>
nulldata 9
series tim = {1;2;3;1;2;3;1;2;3}
series id = {1;1;1;2;2;2;101;101;101}
setobs id tim --panel-vars
eval corr($unit, id)
</hansl>
Granted, my thought was wrong. But backing up a step (and sorry if
I've just missed the point) why would one need to test a series such
as "id" if one has $unit available? ("Read <URL>" might
suffice!)
Allin