Closed IndrajeetPatil closed 6 years ago
First issue comes from MBESS::conf.limits.ncf()
, which returns NA
, same as userfriendlyscience::confIntOmegaSq()
does. I did not dive deeper into the code to check where this issue may occur, but I'd say it's nothing I can fix in sjstats.
Second issue is fixed, but I strongly recommend doing data and variable transformation before modelling and not include these functions in the formula. Furthermore, scale()
returns a matrix and no vector - maybe you can use sjmisc::std()
or sjmisc::center()
instead? I know some packages - inlcluding my own - where it causes difficulties if formulas contain functions like scale()
or as.factor()
etc., and as developer it's a mess to consider all these things ;-)
Below I am providing a fully reproducible example of an instance where
sjstats::omega_sq
is not working properly. There are two issues:NA
for omega-squared. (But maybe it is not defined in this case? The same issue also observed with function from another package. So this is not specific tosjstats
.)The same issue was not observed with the function partial eta-squared.
Created on 2018-04-15 by the reprex package (v0.2.0).