Hi Sven,

The BIMETS package is really great. That might be a good starting point. Although, and maybe I am wrong here, I would consider the parsing of the model text one of the main programming challenge, I'm not sure that would be any easier porting between two languages? Or would you write your model file in BIMETS syntax, have your regression etc in Gretl, which then are passed to the text file, and this data and text are then passed to R? 



Get Outlook for Android


From: Sven Schreiber <svetosch@gmx.net>
Sent: Sunday, 13 September 2020, 1:12 am
To: gretl-devel@gretlml.univpm.it
Subject: [Gretl-devel] Re: Simulate simultaneous equation model

Am 12.09.2020 um 03:59 schrieb Allin Cottrell:
> On Fri, 11 Sep 2020, Riccardo (Jack) Lucchetti wrote:
>
>> On Fri, 11 Sep 2020, Adam Elderfield wrote:
>>
>>> Thanks for the reply! I've found Andrea Luciani very helpful with
>>> BIMETS questions, so I'm glad to hear they're interested in Gretl!

Of course it would be great if such a functionality could be provided
for gretl users. But I would like to ask you what features you are
missing in this BIMETS package for R - because if in principle it does
what you want then perhaps it might be worth thinking about starting to
write a wrapper instead of doing a full port to gretl & hansl.
(A gretl user-contributed package can call R packages quite easily, and
of course we can help in resolving the data and results transfer issues.)

>>> Sorry below should have read "I'm not 100% across Hansl" but would
>>> you undertake project with Hansl? Say for example, how would I create
>>> a menu item "model" which would prompt user to a) create a model , b)
>>> work with a model?
>>
>> Well, there's only so much you can do in Hansl. One thing you _can't_
>> do is adding arbitrary elements to the menu for the gretl GUI clients.
>
> You can add GUI menu items that call hansl code (subject to approval by
> the user) by wrapping your code as a "function package". Obviously Jack
> (as the author of several such packages) knows that very well so I must
> be missing the point he's making.

Well I suspect that Jack simply forgot about that possibility since he
is mostly focused on the scripting part :-)

Having said that, the graphical interface for a native multiple equation
system in gretl is still quite rudimentary, basically consisting of a
big text field where you have to type in the equation specs as you would
in a script.

cheers
sven
_______________________________________________
Gretl-devel mailing list -- gretl-devel@gretlml.univpm.it
To unsubscribe send an email to gretl-devel-leave@gretlml.univpm.it
Website: https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgretlml.univpm.it%2Fpostorius%2Flists%2Fgretl-devel.gretlml.univpm.it%2F&amp;data=02%7C01%7C%7Ca86eb44b03054bf83b2308d8572e5381%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637355203761613111&amp;sdata=%2BFlwgO2OAysRYAogMcKywZyE%2Bi7D7FVDWJXrZgpnSiQ%3D&amp;reserved=0