On Wed, 17 Oct 2012, Sanzad Siddique wrote:
Thanks for your prompt help. This is really very much helpful for
me.
Just to check with you, I am getting linker error for the
function dataset_set_time_series(dset, 4, 1980, 1); I have build the latest
source from CVS. Do you have any idea. If I comment that line, things are
just fine.
The new function dataset_set_time_series() is in dataset.c,
with its declaration in dataset.h, in CVS. It would also be
possible to use the older function set_obs() for this purpose
(it's in gretl_utils.c). The latter function is more flexible;
its first argument is a "command line" of the same form that
you'd use with the gretl command "setobs", e.g.
set_obs("setobs 4 1980:1", dset, OPT_T);
for a quarterly time series starting in 1980, quarter 1.
Allin Cottrell