Hello, thank you for the hints.
The append command worked out quite well, at least if I have only one series to append,
unfortunately, it doesn't work if I try to append more than one series simultaneously.
Gretl stopps and tells me, that the data frequency does not match, though all new series
are of equal length.
As I do not have a lot of time series to append, I can import them one by one.
Regards,
Jan
________________________________________
Von: Plus.line MailSystem [cyrus(a)mailer.plusline.de] im Auftrag von Pindar
[pindar777(a)gmail.com]
Gesendet: Montag, 13. August 2012 20:54
An: Gretl list
Betreff: Re: [Gretl-users] Import data as panel or change existing data set structure
Am 13.08.2012 20:43, schrieb Jan Tille:
Hello dear gretl users,
I have a question regarding the structuring of data as panel-set.
I want to create a panel that consists of 890 investment fund time series. I have no
problem to stack them either cross-sectionally or as a stacked time-series.
The problem I am trying to solve is that I also have a single time series that shall be
used as common a regressor for all the individual units, i.e. I need this series in a
panel setup.
I know that I can prepare an excel sheet, where I either copy the time-series 890 times in
a single column (stacked time-series) or where I copy each time observation 890 times
(cross-section). As this is a pretty dull task I am looking for a command so that gretl
performs this task upon the data import.
Hi Jan,
there are several ways:
a) try the append command which has a special routine for panels
b) try the new join command
c) import the data as a matrix and use loop commands with the proper matrix selection
like matrix[n,] so generate a new matrix that has the same structure as the series you
need. then just transform the matrix into a series
Hope you get along with his hints.
I hope, that I have presented my problem properly to you.
Many thanks in advance,
Jan
_______________________________________________
Gretl-users mailing list
Gretl-users@lists.wfu.edu<mailto:Gretl-users@lists.wfu.edu>
http://lists.wfu.edu/mailman/listinfo/gretl-users