Closed IndrajeetPatil closed 6 years ago
Yes, this is a duplicate of #20 I have no solution yet.
Just saw:
getting tidy output from broom (works only with >= broom 0.4.5) broom::tidy(iris.mod)
So it might be working with broom >= 0.4.5.
Should be working now, but requires broom >= 0.4.5
@strengejacke Thanks! It's working indeed.
Is it also possible to have the same functionality with omega-squared as well? I usually like to present both effect sizes for my models.
> sjstats::omega_sq(model = iris.mod, partial = TRUE, ci.lvl = 0.95)
Error in formula.default(model) : invalid formula
For omega-sq only of partial = FALSE
. For bootstrapping, I need to extract the formula (see https://github.com/strengejacke/sjstats/blob/13353e18cb7e352091606500b40fd44675b9fc2e/R/eta_sq.R#L423), which currently fails for Anova with error term. If you have any ideas, let me know!
or better, I use lm()
for bootstrapping, which allows no error term in the formula:
https://github.com/strengejacke/sjstats/blob/13353e18cb7e352091606500b40fd44675b9fc2e/R/eta_sq.R#L436
I'm not sure how to fix this yet, must think about it. Probably an own bootstrapping-function for Anova with error term.
Ok, fixed this issue, omega_sq and CI or eta_sq and CI should now also work. Will commit later.
The
sjstats::etasq
function doesn't seem to work with repeated measures ANOVA designs:Created on 2018-07-02 by the reprex package (v0.2.0).