Closed IndrajeetPatil closed 5 years ago
@ibecav Following up on #188, any thoughts on this? You had mentioned there that corrected df
s should be in the returned ez
list, but I can't find it there.
Yes please see reprex
# ugh iris_long
ez_df <-
ez::ezANOVA(
data = ggstatsplot::iris_long,
dv = value,
wid = id,
within = condition,
detailed = TRUE,
return_aov = TRUE
)
#> Warning: Converting "id" to factor for ANOVA.
# We take Greenhouse-Geisser epsilon and multiple by uncorrected df
# We get the same answer as JASP
# you can of course get the raw df from anywhere
ez_df$`Sphericity Corrections`$GGe * ez_df$ANOVA$DFn[2]
#> [1] 1.14911
Created on 2019-06-04 by the reprex package (v0.3.0)
I want the
subtitle_anova_parametric
function to by default return Greenhouse-Geisser-correcteddf
s for RM ANOVA.For example, here is output from
JASP
of what this looks like:Currently,
sphericity.correction = TRUE
returns only corrected p-values:This is because I haven't been able to figure out where does
ez
store these correcteddf
s, if it even does that:I guess the other option is to manually compute them using the correction (epsilon) value?