Thank you, @allin. It works great for the corr command. I am not pushing for this, but only documenting it here: graph-names are not supported for the xcorrgm command. Spontaneously, I would disregard it as important for that kind of plot. Any objections on closing the ticket?
Correlation plot to respect labels set via setinfo
since those labels are generally longer, although one could possibly set that label to a shorter one exactly for that purpose. This is exactly the case I often face. I don't want to push this too hard. But if it's rather simple to make use of the labels, I would suggest to harmonize things across different plot types. There is a reason if a user sets graph-name, I would argue.
Oh, you're totally right, @svetosch. I'll close this ticket
Correlation plot to respect labels set via setinfo
Hi, I just sent you github invitation.
xcorrgm --quiet option suppresses plot
Option --graph-name not always respected
Indeed, good point, Sven.
Thank you, Allin! That's works great in the current snapshot
Hello, the difftest command still does not support the handy --split-by= option. This is just a reminder and maybe something that could be worked on in a joint .session.
Thanks for your work, @svetosch. Yes, that's a good starting point. What do you think of making it part of the PanelTools package (https://github.com/atecon/paneltools) and add a GUI hook for the extended panel-plot functionality?
Remove Required Backslashes for Line Breaks in Gnuplot Command Blocks
I've added a unit-test to the gretl repo. This ticket can be closed as the original problem (and some others) are resolved.
I was aware of the single semicolon case but not about the double semicolon one. Thanks, I am going to add this as a note.
That's not my point -- sorry for not being more clear. I know that it fails due to an not-up-to-date gretl version here. I just try to understand what actually happens here smpl ; ;. I think I am asking what the double semicolon actually means? Thanks
Hi @svetosch, I can do so. But I do not understand exactly what's tested here. When I run the script I get the error: ? smpl ; ;a = "aha" Parse error at unexpected token ';' Error executing script: halting > smpl ; ;a = "aha" Is the test about whether Gretl allows the syntax smpl ; ; as a valid way to specify the full sample? Does the error suggest that Gretl's parser does not accept this syntax, possibly due to the way semicolons are handled or expected in the command? I would like to add a brief...
Thank you, @allin. It works nicely: I've tested my as well as Sven's examples above. All work as expected! Artur
Remove Required Backslashes for Line Breaks in Gnuplot Command Blocks
Hi, Currently, the gretl database system only allows users to: - Add new series (new columns) to the database - Overwrite existing series with the --overwrite option Proposed Enhancement Add a vertical append feature to the store command to add new rows (observations) to an existing database without overwriting the entire series. Example Starting Dataset (in the gretl database): id | timestamp | parameter_value | fitted_value ---+------------+----------------+------------- 1 | 2025-01-01 | 0.5 |...
Hi @svetosch, Originally this ticket comprised two separate feature request: 1) tabprint command enhancement: RTF format support 2) modeltab command enhancement: Decimal place formatting option With regard on 2: The requested features is fully implemented. With regard on 1: The requested feature was not implemented (yet). Here is an example that shows that specifying the number of decimal points is neither possible for rtf nor csv documents: set verbose off clear open denmark --quiet ols log(LRM)...
Hi @svetosch, Originally this ticket comprised two separate feature request: 1) tabprint command enhancement: RTF format support 2) modeltab command enhancement: Decimal place formatting option With regard on 2: The requested features is fully implemented. With regard on 1: The requested feature was not implemented (yet). Here is an example that shows that specifying the number of decimal points is neither possible for rtf nor csv documents: set verbose off clear open denmark --quiet ols log(LRM)...
Your code, @svetosch, is a good starting point for a package. I've started to build a package based on it. The project can be found here: https://github.com/atecon/gmmsys/tree/main/src Relevant files are: Functions: https://github.com/atecon/gmmsys/blob/main/src/gmmsys.inp Sample script: https://github.com/atecon/gmmsys/blob/main/src/gmmsys_sample.inp I can replicate Sven's example. I've also added many post-estimation statistics to the printout such as R² etc. as you will see. The package is not...
Definitely doable. However, using existing commands (such as boxplot or some other) would immediately imply support for further gnuplot features via the set command (e.g. "set title ..."). I do not want to push this too hard. The ticket is open for quite a while and I think we should decided whether to support this natively or not.
Personally, I haven't used asort() before . But yes, it looks like this can handle the sorting part. This, of course, would require an additional step to do by the user. It took me 1,5 days to understand the cause of "hidden" intervals. That's why I suggest an automatic sorting done by Gretl itself in the background. By the way, let me also provide an alternative which helps somehow: Using gnuplot's option to set the alpha channel (transparency level) which gretl supports since some time. Try the...
Auto-ordering of forecast intervals in gnuplot command
Thanks, this ticket is solved and is closed now.
Test on serial correlation fails after arima command
`end` keyword when specifying output buffers for gnuplot
Ah, now I understand that df-thing better. Thank you for the quick fix, Allin. (Haven't tested it yet, though).
Thanks for the link. Interesting. For the moment, I also stick to the ACF as Hyndman suggests. So you think it's due to insufficient observations? I thought so too, but here is an example using a dataset with more than 2500 obs. --> Same error set verbose off open djclose series y = diff(djclose) arima 1 0 0 ; y --c modtest 1 --autocorr # "Error calculating Ljung-Box statistic" arima 1 1 0 ; y --c modtest 1 --autocorr # "Error calculating Ljung-Box statistic" arima 1 1 1 ; y --c modtest 1 --autocorr...
Test on serial correlation fails after arima command
I guess the quickest way is write a user-contributed package. One could postpone a native implementation, I think. The extension to non-linear systems would be nice, but may be less demanding now.
Hi @svetosch, that's resolved now. Thanks for the hint. It's actually a markdown formatting issue ;-)
Open dataset with trailing empty variables
Adding Information Criteria Statistics to the "modeltab"
Adding Information Criteria Statistics to the "modeltab"Feature Request: Adding Information Criteria Statistics to the "modeltab" Command
Thank you for this clarification, Allin. Indeed, tricky case. I saw that you improved the unit-test script. Thanks for this, too. Artur
Hi @allin, I've written a unit-test for this. Please find the script here: https://sourceforge.net/p/gretl/git/ci/2a0e0ee7b8a50cfc491afa433747a1a75b91b180/ The first example, is taken from Ekkehart's first report. It works fine with latest git. However, his recent example case involving the loop fails. Actually, the variable actual is empty meaning that nothing got printed. I am sure there is a bug in my test script but I can't detect it. Best Artur
Open dataset with trailing empty variables
Date format issue when importing data into Gretl
Thanks for the concrete example, Jack. I am going to add this to the wiki.
Thanks for clarification, Allin. I am going to close the ticket.
Date format issue when importing data into Gretl
Thanks for the summary. It's a pity that newlines have such side-effects. Ok, maybe I can come up with some function candidate to realize this request in near future. I think, this ticket can be closed now.
Installation Issue with "isl.tar.gz" on Windows Platforms
The ticket gets closed. The feature for installing a dataset collection via the pkg command was only recently introduced with Gretl 2024a.
Installation Issue with "isl.tar.gz" on Windows Platforms
Just for understanding you correctly, Allin: You're arguing that there is no need for the --outbuf option -- for instance for the panplot command -- as the user can always run the approach proposed by Sven? Concrete: Store the output as a plt file and read-in its content: ~~~ panplot $i --overlay --output="mytemp$i.plt" ps[i] = readfile("mytemp$i.plt") ~~~ Artur
Thanks for your comment(s), Allin. A couple of comments. On newlines in strings arrays, that's supported: strings S = defarray(sprintf("line 1\nline 2"), "s2", "s3") Ah, that's good to know. On supporting long column names in matrix printout, I'd say no. It's not at all clear what such a printout should look like. Here is an example of what I have in mind. The labels for the columns 3 and 4 for comprise a single line break: mean mean airco count price lotsize 0 298 68000 4512 1 122 74000 3876
Support Multiline Column and Row Labels for Matrices
Confirmed. Works fine now. Thank you, Allin!
I attached the plot I obtain.
Distorted x-tics for histogram
Implement Append Feature for "store" Command to Facilitate Incremental Updates to Series Data
Relative Path Handling Issue in Dataset Storage
That's very nice, Allin! Thank you for the work. Here is a simple script showing the new modeltab feature: set verbose off clear open denmark --quiet modeltab free ols log(LRM) const log(LRY) --quiet modeltab add ols log(LRM) const log(LRY) IBO --quiet modeltab add ols log(LRM) const log(LRY) IBO IDE --quiet modeltab add modeltab show # Formated modeltab bundle Options = empty Options.colheads = 2 Options.tstats = TRUE Options.pvalues = TRUE Options.asterisks = FALSE Options.decplaces = 2 modeltab...
Thank you, Allin!
Very nice. That works! Thank you. Question: Shall we close the ticket? But then this circumvention should be documented, I think.
I just saw that the boxplot command also does not support the --outbuf option: https://gretl.sourceforge.net/gretl-help/cmdref.html#boxplot
Good point, Sven! What you have in mind is: set verbose off open grunfeld -q list L = invest value gpbuild Plots panplot invest --overlay panplot value --overlay end gpbuild gridplot Plots --output=display And that, indeed, works. Ok, I should re-specify what I ask for. The use-case is that one writes a function where you pass a list of k variables and one loops over that list to collects panel-plots. This array is then passed to the gridplot command. Using gpbuild requires to specify explicitly...
Add --outbuf for panplot command
About modeltab: The truth seems to be that there a whole bunch of GUI settings that have no equivalent in the scripting command That's right. If only some of the settings are transplanted, it's not clear to me that the decimal places should get the highest priority. Do you have a concrete example where the output could greatly benefit from a different number format? That's based on requests I got from colleagues. Typical use-case: Either the user or maybe a journal asks for certain formatting of...
My data is very large. What do you mean by large? How many variables and rows do you have? Maybe we can simulate such an dataset if you can't share it. You may want to upload a zip-file here including the data. Simply press the "Add attachements" below your message here. You can store a compressed gretl-dataset (https://gretl.sourceforge.net/gretl-help/cmdref.html#store) as follows: list VarsToExport = SERIES YOU WANT TO EXPORT store FILENAME.gdt VarsToExport --gzipped=9 Best
Incorrect Calculations on Series Holding Calendar Information
NBER recession dates
Thanks for ticket, Sven. Indeed, that would be a useful feature.
Formatting of decimal places: modeltab, tabprint
Crash due to "endplot"
Thank you for fixing that, Allin. It works now in the sense that an error is thrown and gretl does not crash. I am going to close the ticket.
Good idea to move this ticket to the feature-request section. Shall I do it?
I guess you mean: open denmark matrix m = {LRM} ~ {LRY} gnuplot --matrix=m --time-series --with-lines --output=display Also for me, the plot does not carry the time information.
Crash due to "endplot"
nhancements to "gnuplot" and "tsplots" Commands for Matrix Datatype
Hi Sven, I understand your point that one may question the usefulness of such a plot. If I remember correctly our discussion (but I may be wrong!), we said that it would be relatively easy to augment the existing apparatus for supporting the violine plot. But of course, a user-written package is also possible. By the way, what I find still useful is the last plot shown: a combination of a boxplot and a violine plot. But maybe it's just me ;-) Artur
Improve legend of factorized xy-plot
That looks nice, Allin. Thank you for the quick implementation! I close the ticket.
Improve legend of factorized xy-plot
Violin plot
Artur
Violin plot
I close the ticket and move it to the internal todos.
Violin plot
Yes, good point we should discuss in our meeting.