Gretl-Hansl "IDE" for Sublime editor
by Artur Tarassow
Dear all,
some weeks ago I've started to switch to the sublime editor
(https://www.sublimetext.com/) for writing gretl code.
Even though I like the simplicity of the gretl editor and its features
such as syntax highlighting and auto-itendation, it lacks some features
of modern IDEs such as "goto-anything", "goto-definition", custom
keybindings, fancy themes, git-implementation, snippets etc. which make
life much easier when working on larger projects. Don't get me wrong,
the gretl editor is great but was _never_ supposed to become a proper
software-development IDE but rather has another focus which is totally fine.
So I started to write the "Hansl-Gretl-Language" package for sublime
which includes the following features:
- 3 gretl build-systems (client mode, batch mode, and REPL mode) for
executing hansl code by means of sublime (plots are also working!)
- syntax-highlighting
- completion of gretl commands, accessors and keywords
- some snippet examples for speeding up coding
The project still has the following (known) issues:
- no auto-itendation (still have to figure out how this works)
- issues with some corner-cases which are not syntax-highlighted (regex
can become so hard!)
The package can be downloaded through sublimes package control system,
and can be found here:
https://packagecontrol.io/packages/Hansl-Gretl-Language
If somebody wants to participate on this project, check out the code on
my github repository:
https://github.com/atecon/Hansl-Gretl-Language
For those interesting in the sublime editor, check out "OdatNurd"'s
brilliant tutorials on youtube:
https://www.youtube.com/user/nurdz
Enjoy the package,
Artur
11 months, 2 weeks
Gretlwiki announcement
by DeFeroci
Dear all,
I would like to announce that the gretl wiki is back up and running at:
https://gretlwiki.econ.univpm.it/index.php/Main_Page
For security reasons (and previous experience) only registered users can
modify the wiki and self-registration is no longer possible. So, if you
want to be added, please write to me privately or reply to this email.
Information on how to be registered and using the wiki can be found here:
https://gretlwiki.econ.univpm.it/index.php/Wiki
At the moment the wiki administrators are me and Cristián Arturo Ducoing
Ruiz.
If you have any suggestions or requests, you are welcome to contact us.
Happy holidays.
Federico
1 year, 1 month
Grid search
by Olasehinde Timmy
Dear profs.,
Please, I would like to know how to perform a grid search in order to find
an optimal value for a threshold—for example, the threshold value to choose
for the inflation rate in an asymmetric model.
Thanks.
1 year, 10 months
Stock-flow consistent models
by alfred-kraft
Can one set up a stock-flow consistent model a la Godley and simulate it in Gretl ? And how ?Von meinem/meiner Galaxy gesendet
1 year, 10 months
missing values in fixed effects model
by heidinka8@gmail.com
Hi, I have panel data made of 99 cross-sectional units and 7 time series. When I do the fixed effects model in gretl, there are only 158 observations, 56 cross-sectional units and 4 time series. My model has one dependent variable and 5 independent variables. There are some values missing and I have told this shoudn't be a problem while doing the linear regression. But gretl removed all of the units where there is only one variable missing. Even when I have data for all other 5 variables, gretl removed it from model completely because on is missing. This reduced my dataset significantly. Could you please advise how to fix this?
1 year, 10 months
Re: Stock-flow consistent models
by alfred-kraft
Thank you frederico and especially Sven for the answers, i asked because it is relatively easy to do in Eviews ... it would be good i think if it were equally easy in Gretl. Thanks Von meinem/meiner Galaxy gesendet
1 year, 10 months
Re: [EXTERNAL] Re: panplot question
by Sven Schreiber
Am 27.01.2023 um 17:33 schrieb Summers, Peter:
> Artur & Sven,
>
> Thanks for your help! I'm using the Penn World Tables. Gretl correctly recognized it as a panel, but I hadn't set the dataset structure. When I did that, it worked...almost. Running the attached script, the first plot still has observation numbers, but the rest correctly show the year.
>
On the gretl web page I'm only seeing various relatively outdated
version of the PWT (probably they should be updated...), apart from the
fact that they don't seem to be in a formal panel structure. So how did
you get or make your gretl datafile?
thanks
sven
1 year, 10 months
Re: [EXTERNAL] Re: panplot question
by Cottrell, Allin
On Fri, Jan 27, 2023 at 11:33 AM Summers, Peter <psummers(a)highpoint.edu> wrote:
>
> Artur & Sven,
>
> Thanks for your help! I'm using the Penn World Tables. Gretl correctly recognized it as a panel, but I hadn't set the dataset structure. When I did that, it worked...almost. Running the attached script, the first plot still has observation numbers, but the rest correctly show the year.
It's the double sub-sampling for the first plot (year >= 1960
--restrict and a short list of countries) that's throwing gretl's
calendar. The subsequent plots are not restricted by time, only by
country (since you use --restrict --replace with smpl). The first plot
works if you use the panel-specific means of sampling in the time
dimension:
instead of: smpl year >= 1960 --restrict
do: smpl 1960 2019 --time
Allin
1 year, 10 months
Re: panplot question
by Artur T.
Am 27.01.23 um 15:05 schrieb Summers, Peter:
> Hi folks,
>
> I’m creating a couple graphs using panplot, and I’d like to have the
> x-axis labels be the date (year), rather than the time period number. Is
> there a way to do that? (I realize that may be a gnuplot question.) More
> generally, would it be possible to incorporate panplot functionality
> into the plot…end plot environment?
Hi Peter,
try this please:
<hansl>
set verbose off
clear
nulldata 20
series y = normal()
setobs 10 1:1 --stacked-time-series
panplot y --overlay --output=display
# Set calendar data
setobs 4 2020:1 --panel-time # quarterly obs.
panplot y --overlay --output=display # shows proper date now
</hansl>
The crucial point is to define the frequency and initial date.
Best,
Artur
1 year, 10 months
Re: panplot question
by Sven Schreiber
Am 27.01.2023 um 15:05 schrieb Summers, Peter:
>
> Hi folks,
>
> I’m creating a couple graphs using panplot, and I’d like to have the
> x-axis labels be the date (year), rather than the time period number.
> Is there a way to do that? (I realize that may be a gnuplot question.)
> More generally, would it be possible to incorporate panplot
> functionality into the plot…end plot environment?
>
Peter, what is the time periodicity of your panel dataset, annual? Can
you perhaps tell us which of the shipped example files in gretl are
closest to your situation?
thanks
sven
1 year, 10 months