Hi everybody,
the function package genr_dates.gfn from 2013 has just been retired
(removed from the package server), because it had some technical issues.
If you relied on that package, here are some tips on how to achieve the
same results:
For getting a series with the number of the quarter (or month), in
recent gretl versions you only have to do:
series q = $obsminor
(Similarly with daily data and number of day, use the accessor $obsmicro.)
Dummy variables for various time frequencies can be obtained with the
builtin seasonals() function (also from the menus).
If you want dummies that are different from the periodicity of the
dataset (not used very often I think), then you can create something
like "series Y = $obsmajor" and then for example from the menu choose
"add dummies for discrete variables". (Equivalently in script: list
yeardum = dummify(Y); you may have to explicitly declare Y to be
discrete -- go to its attribute window and tick the corresponding box;
or do "discrete Y" as a command.)
If you have any further questions, this is the right place to ask!
thanks,
sven
Show replies by date