Hi Allin, Sven

May I ask, would it be a lot of work to modify gretl to have the menu drop down factorized summary statistic display the values showing all the digits before the decimal point, and then showing, say, 5 digits, after the decimal point? Since gretl actually does store the complete value, that would make it very convenient for users.

So, for example, then summary statistic for my data set could show the mean for Australia-Oceana as 1557590.272727 instead of 1.5576e+006.

However, I don't know how much work is involved in modifying gretl, so I don't want to ask too much.

And one more. If possible, could the show all statistics for the menu drop down factorized summary statistics include summary?


Again, thanks to both of you for responding to all my questions.


Thanks

Gene



On Monday, May 27, 2024 at 05:20:24 AM EDT, Sven Schreiber <sven.schreiber@fu-berlin.de> wrote:


Am 27.05.2024 um 05:28 schrieb g s:
Hi Allin

Thanks for checking.

"as Sven pointed out, gretl actually stores a value of 1557590.272727."

Would I be able to access the values for mean and for sum that gretl actually stores, so I could see all the digits?

There are at least two ways to do that; the first is the menu-only way, which can become a bit tedious if you actually want to look at all the results:

- again, "dummify" the AreaRegion variable - right-click, choose dummify

- go to Sample / Restrict by condition, and choose the first created dummy (DAreaRegion_1) to sub-sample the data

- right-click the population variable, choose Basic statistics; you get a new result window with the mean value at the top of the list

- the right-most button in that new window is for choosing the number of significant digits

So in that sense it's actually not entirely true that gretl only gives you five significant digits for the summary (contrary to what I thought as well). If you want to look at all ten results, you would have to repeat the steps above for the other dummies as well.

Or you do a tiny bit of scripting in the console, by assigning the result from the aggregate() function call (applied to the full sample) to a matrix:

matrix m = aggregate(population, AreaRegion, mean)

Then you can look at the created object m by opening the "icon view" (menu View/Icon view). Double click on the icon for "m". The third column in the new window holds your results. By going to View/Format in that window you can change the format setting to other numbers of significant digits there.

cheers

sven

_______________________________________________
Gretl-users mailing list -- gretl-users@gretlml.univpm.it
To unsubscribe send an email to gretl-users-leave@gretlml.univpm.it
Website: https://gretlml.univpm.it/postorius/lists/gretl-users.gretlml.univpm.it/