[Gretl-devel] Re: Displayed time index in case of restricted panel

2019-11-13 Thread Artur Tarassow

Hi Allin and Sven,

Am 11.11.19 um 08:32 schrieb Sven Schreiber:

Am 11.11.2019 um 01:36 schrieb Allin Cottrell:

On Sun, 10 Nov 2019, Artur Tarassow wrote:



I just saw that when the time-dimension of a panel data set is
restricted, the 'sample' display at the bottom of the main menu does
not show the right time indices.

See the screenshot attached where I restricted time to the range
2<=time<=10 but the shown indices are still .

Of course, the actual data set in the background is correctly 
restricted.


Gretl's basic "panel first period" is always 1 by construction: the
first period in the sample range. If the dataset has, for example, a
"year" variable, then "period 1" may correspond to a different year
depending on subsampling. And if you've set observation markers of the
form "individual:date" these will look "right" after subsampling.



Thanks for clarification, Allin.

Interesting point about the obs markers. I'm wondering whether it could
make sense to apply "semi-markers" automatically when the time dimension
in the panel is defined.

So after a command like:
setobs 4 1990:1 --panel-time

that might imply setting obs markers of the form "G1:1990-1" or
something like that. (G for 'group' which I think we use in gretl for
the cross-section dimension.) Of course only if no other markers are
defined already.


Sounds 'natural' to me -- I mean that would be the equivalent to the 
behavior when working with time-series.


Thanks,
Artur
___
Gretl-devel mailing list -- gretl-devel@gretlml.univpm.it
To unsubscribe send an email to gretl-devel-le...@gretlml.univpm.it
Website: 
https://gretlml.univpm.it/postorius/lists/gretl-devel.gretlml.univpm.it/


[Gretl-devel] Re: Displayed time index in case of restricted panel

2019-11-10 Thread Sven Schreiber

Am 11.11.2019 um 01:36 schrieb Allin Cottrell:

On Sun, 10 Nov 2019, Artur Tarassow wrote:



I just saw that when the time-dimension of a panel data set is
restricted, the 'sample' display at the bottom of the main menu does
not show the right time indices.

See the screenshot attached where I restricted time to the range
2<=time<=10 but the shown indices are still .

Of course, the actual data set in the background is correctly restricted.


Gretl's basic "panel first period" is always 1 by construction: the
first period in the sample range. If the dataset has, for example, a
"year" variable, then "period 1" may correspond to a different year
depending on subsampling. And if you've set observation markers of the
form "individual:date" these will look "right" after subsampling.


Interesting point about the obs markers. I'm wondering whether it could
make sense to apply "semi-markers" automatically when the time dimension
in the panel is defined.

So after a command like:
setobs 4 1990:1 --panel-time

that might imply setting obs markers of the form "G1:1990-1" or
something like that. (G for 'group' which I think we use in gretl for
the cross-section dimension.) Of course only if no other markers are
defined already.

cheers
sven
___
Gretl-devel mailing list -- gretl-devel@gretlml.univpm.it
To unsubscribe send an email to gretl-devel-le...@gretlml.univpm.it
Website: 
https://gretlml.univpm.it/postorius/lists/gretl-devel.gretlml.univpm.it/


[Gretl-devel] Re: Displayed time index in case of restricted panel

2019-11-10 Thread Allin Cottrell

On Sun, 10 Nov 2019, Artur Tarassow wrote:


Hi all,

I just saw that when the time-dimension of a panel data set is restricted, 
the 'sample' display at the bottom of the main menu does not show the right 
time indices.


See the screenshot attached where I restricted time to the range 2<=time<=10 
but the shown indices are still .


Of course, the actual data set in the background is correctly restricted.


Gretl's basic "panel first period" is always 1 by construction: the 
first period in the sample range. If the dataset has, for example, a 
"year" variable, then "period 1" may correspond to a different year 
depending on subsampling. And if you've set observation markers of 
the form "individual:date" these will look "right" after 
subsampling.


Allin
___
Gretl-devel mailing list -- gretl-devel@gretlml.univpm.it
To unsubscribe send an email to gretl-devel-le...@gretlml.univpm.it
Website: 
https://gretlml.univpm.it/postorius/lists/gretl-devel.gretlml.univpm.it/