Walrus Package

Everything related to the development of modules in jamovi

by Andrew_Govus » Wed Oct 06, 2021 2:38 am

HI All,

Thanks for porting the Walrus package to Jamovi from R.

I have a few questions/requests that I wondered if someone might know the answer to:

Robust one-way ANOVA with trimmed means does not seem to provide the df in the Robust ANOVA table, nor the explanatory measure of effect size as the WRS2 package does in R. I'm not that worried about the effect size, but the DF probably should be reported with the F statistic. Is there are reason for this that I'm missing?

Example below:

Jamovi syntax

walrus::ranova(
data = data,
dep = HEIGHT,
factors = COHORT,
ph = TRUE)

Yields:

#
# Robust ANOVA
# ─────────────────────────────
# F p
# ─────────────────────────────
# COHORT 5.349 0.0032
# ─────────────────────────────
# Note. Method of trimmed
# means, trim level 0.2
#

The same analysis using the WRS2 package in R gives me:

R output

#Call: t1way(formula = HEIGHT ~ COHORT, data = ON_DATA)
#
#Test statistic: F = 5.5156
#Degrees of freedom 1: 3
#Degrees of freedom 2: 43.39
#p-value: 0.00268
#
#Explanatory measure of effect size: 0.35
#Bootstrap CI: [0.13; 0.69]

The DF 1 and 2, as well as the explanatory measures of effect size are missing from the Jamovi output.

Is this a functional limitation or something that can be implemented for consistency with R. Sorry if I've made an error, happy to be corrected here.

Regards,

Andy Govus
Andrew_Govus
 
Posts: 2
Joined: Sat Sep 08, 2018 5:26 am

by jonathon » Wed Oct 06, 2021 3:48 am

i'm not 100% on this, because i wrote this a long time ago, but i may have omitted the df, just because none of the other robust ANOVA functions provided dfs.

here's the code:

https://github.com/jamovi/walrus/blob/master/R/ranova.b.R

you'd be welcome to submit a PR.

cheers

jonathon
User avatar
jonathon
 
Posts: 1953
Joined: Fri Jan 27, 2017 10:04 am

by MAgojam » Wed Oct 06, 2021 2:01 pm

Hi Andy,
can you take a look at this screenshot, to see if there is what you need?
walrus_upd.png
walrus_upd.png (104.97 KiB) Viewed 6742 times

Some time ago I modified the walrus module locally to make it available to some of my students in physiotherapy.
If Jonathon deems it useful I can make a "Pull request".

Cheers,
Maurizio
User avatar
MAgojam
 
Posts: 215
Joined: Thu Jun 08, 2017 2:33 pm
Location: Parma (Italy)

by Andrew_Govus » Fri Oct 22, 2021 12:58 am

Thank you both for your reply.

Maurizio - yes, that is what I was after. Many thanks if you could please make that a pull request.

Keep us the excellent work Jonathon - many converts to Jamovi at my uni (La Trobe) so far!

Regards,

Andrew Govus
Andrew_Govus
 
Posts: 2
Joined: Sat Sep 08, 2018 5:26 am

by jonathon » Sat Oct 23, 2021 9:56 am

ah great. always glad to hear of australian uni's running with us.

cheers
User avatar
jonathon
 
Posts: 1953
Joined: Fri Jan 27, 2017 10:04 am


Return to Module development