Add cross sectional mean is giving time series mean
by Ramki S
I loaded this data into gretl and told that this is time series stacked data. I wanted to create Y_barj varibale. but the result is different. I expected that 4, 6, 8 are the means for clusters. Did I do anything wrong here.
unit year y
1 1 2
1 2 4
1 3 6
2 1 3
2 2 6
2 3 9
3 1 4
3 2 8
3 3 12
xm_y
1:1 3
1:2 6
1:3 9
2:1 3
2:2 6
2:3 9
3:1 3
3:2 6
3:3 9
2 months, 1 week
Suggestion for stacked cross section terminology for
by Ramki S
Many of my students got confusion regarding this terminology used by gretl for importing data. Stacked time series and Stacked cross sections. Can you provide a brief description about the organization of the data like below or any other suitable name or example? The help is ok, but these options are easy to understand.
Why grouped by? This is a very famous verb in dplyr R package.
Stacked time series (grouped by Units)
Stacked cross sections (grouped by Time)
2 months, 1 week