New Version 0.2 of the "season_plot" Package
by Artur T.
Dear Gretl users,
I want to announce the release of version 0.2 of the "season_plot"
package for gretl! This update brings some internal enhancements and
changes.
Key Changes in Version 0.2
- Integration with gretl's Built-in gridplot apparatus: We have
transitioned from using the "multiplot" package to gretl's built-in
gridplot apparatus, enhancing the plotting capabilities. This is just an
internal improvement.
- Function Renaming: The function `plot_season_plot()` has been renamed
to `do_season_plot()`. Please note that this change is **backward
incompatible**.
- Parameter Renaming: The following parameters have been renamed for
consistency:
- `PLOT_WIDTH` to `plot_width`
- `PLOT_HEIGHT` to `plot_height`
- `FONT_SIZE` to `font_size`
These changes are also **backward incompatible**.
- New Features:
- A new option for the `type` parameter allows you to plot all
frequencies at once (`type="all"`), which is useful for comparing the
dynamics of all frequency components simultaneously.
- A new `title` parameter has been added to control the title of the
plot.
- You can now specify the number of columns (`cols`) and rows
(`rows`) in the gridplot, applicable only when `type=all` is selected.
- Minimum gretl Version Requirement: The minimum required version of
gretl has been raised to **2024b** due to the use of the new gridplot
apparatus and the `--title` option.
For more detailed information about the package, its functionalities,
and a sample script, please visit the official documentation here:
https://gretl.sourceforge.net/current_fnfiles/season_plot.gfn
We hope you find these updates beneficial for your statistical analyses.
As always, we welcome your feedback and suggestions!
Best,
Artur
2 years
obscure sampling problem fixed
by Allin Cottrell
We've recently fixed (in git and snapshots) a somewhat obscure
problem with the "smpl" command in gretl. I say "obscure" because
it's unlikely to affect most users, but here's the sort of thing
that could go wrong.
(1) You open or create a dataset.
(2) You impose a sample restriction that selects a non-contiguous
subset of observations.
(3) You then call a hansl function, to which one or more series are
passed as arguments, and in which "smpl" is used to modify the
sample range.
Now note that by gretl's design it should not be possible inside a
function to modify the sample to include observations that were
excluded at the level of the caller, as in step (2) above.
The following anomalies could arise in certain cases:
* Inside the function, when "smpl" is used more than once, on the
second or subsequent use the sample range might end up including
"excluded" observations.
* Inside the function, a valid use of "smpl" might fail with the
error message "No observations would be left" (i.e. gretl thinks the
sample range would be empty when that's not the case).
To our knowledge these points are now fixed, but if you have any
scripts that match the pattern above, please check that the results
look right. We want to make sure that we aren't missing any bad
cases.
Allin Cottrell
2 years