rcalinjageman / esci

Estimation Statistics with Confidence Intervals
https://rcalinjageman.github.io/esci/
19 stars 10 forks source link

Predictions in correlation menu not working properly after JAMOVI update #48

Closed romina-gonzalez-musso closed 6 months ago

romina-gonzalez-musso commented 6 months ago

Hi Robert and team!

First of all, congratulations for this great package! Very useful indeed! We writing from the Forestry School, National University of Comahue in Patagonia Argentina. We’ve using the Esci module for Jamovi quite a lot for teaching.

Recently, after the last update of Jamovi (from 2.4.11 to 2.5.0), one of the functionalities of the module is not working. When trying to use the prediction option in the regression analysis (Correlations → Single group), we get a blank result and no intervals are shown in the scatterplot. A message in red says “invalid value for 0 ‘digits argument” (see first screenshot). This happens when entering a X value to generate prediction (Y) when the intervals checkboxes are selected. If we enter the X value without ticking the Prediction Intervals or the CI on line checkboxes, it seems to work but yet no intervals are provided.

1

I ran a test in a computer that wasn't updated yet (Jamovi still in 2.4.11) and it works just fine:

Captura de pantalla de 2024-03-12 14-18-56

We guess something is not working properly after this last Jamovi update. We are working in Linux machines (Linux Mint 21/Ubuntu 22.04). Jamovi is installed with Flatpak.

Hope this post helps to solve the issue. Best, Romina

rcalinjageman commented 6 months ago

I haven't had a chance to look into the 2.5 release yet -- but there have been some updates to underlying packages that could cause this type of problem. I'll take a look and hopefully can push out an update soon (had just been prepping an update anyway, with data files and some other little tweaks).

If you notice any other broken behaviors with 2.5 let me know.

romina-gonzalez-musso commented 6 months ago

Hi Robert! This is the only problem we've found so far.

This Jamovi release caught us right on the spot because we're about to give a training course on statistcs applied to forestry, and we're using the Esci module quite a lot. That's why we found this issue regarding predictions and intervals in the Correlations module so quickly. I got distracted and updated all packages that were suggested in the Linux software manager including this new Jamovi version.

Hope this issue is easy to solve in the new update!

Best, Romina

rcalinjageman commented 6 months ago

Romina, I've found the issue, and it is an easy fix. I've applied the update to the esci package for R which lives here on github. The only issue I have now is that the windows update to jamovi 2.5 isn't available yet, so I can't test the fix with jamovi just yet. Working on it.

rcalinjageman commented 6 months ago

I've managed to get 2.5 for windows and test out the fixes. Found an additional issue that was throwing an error in means/medians analyses when the grouping variable wasn't yet defined, and fixed that as well. I've asked the jamovi team to push out the update, which will be to esci 1.0.2. That might take a day or two.. not sure. This 1.0.2 edition also adds data files to the module and references.

romina-gonzalez-musso commented 6 months ago

Great news! Good to know it was an easy fix. I'll keep an eye on the Esci update for Jamovi 2.5 and see how it goes.

romina-gonzalez-musso commented 6 months ago

Well, it was fast! Esci 1.0.2 is now available in Jamovi 2.5 and running smoothly.

Nice work! Thanks!

rcalinjageman commented 6 months ago

Glad it worked out. Any other feedback or feature requests welcome. It is a great joy to know that esci is of use in your teaching.