jamovi / jmv

jamovi for R
https://www.jamovi.org
55 stars 27 forks source link

ttestIS no longer working #401

Closed timothydobbins closed 1 month ago

timothydobbins commented 1 month ago

jmv version 2.4.11

ttestIS seems to be no longer working:

For example:

ttestIS(formula = mpg ~ am, data = mtcars)

 INDEPENDENT SAMPLES T-TEST

 Independent Samples T-Test                             
 ────────────────────────────────────────────────────── 
                         Statistic    df    p           
 ────────────────────────────────────────────────────── 
   mpg    Student's t       NaN ᵃᵇ                      
 ────────────────────────────────────────────────────── 
   Note. Hₐ μ <sub>0</sub> ≠ μ <sub>1</sub>
   ᵃ cannot use 'paired' in formula method
   ᵇ Levene's test is significant (p < .05),
   suggesting a violation of the assumption of
   equal variances

Or


 INDEPENDENT SAMPLES T-TEST

 Independent Samples T-Test                             
 ────────────────────────────────────────────────────── 
                         Statistic    df    p           
 ────────────────────────────────────────────────────── 
   mpg    Student's t       NaN ᵃᵇ                      
 ────────────────────────────────────────────────────── 
   Note. Hₐ μ <sub>0</sub> ≠ μ <sub>1</sub>
   ᵃ cannot use 'paired' in formula method
   ᵇ Levene's test is significant (p < .05),
   suggesting a violation of the assumption of
   equal variances
jonathon-love commented 1 month ago

oh, you're right. there was a change in behaviour in R 4.4 and it broke our t-tests.

jonathon-love commented 1 month ago

i've pushed jmv 2.5.5 to CRAN, and it should start showing up there in the next few hours.

thanks @timothydobbins for bringing this to our attention.