Comments (6)
If model_parameters()
turns out to not be a full replacement of anova_stats()
and there might be some information missing, let me know.
from cgpfunctions.
Thanks Daniel, understand. Thank you for being proactive! I can work with this. Just to make sure I understand you plan on deprecating in a few weeks? How how until removal? I can manage the work it's just all about timing.
from cgpfunctions.
Well, I'm submitting an update of sjstats to CRAN today (without any changes that affect your package). The next update with deprecation would probably be in about 2-3 month, there is no pressure. However, anova_stats()
does not work properly for repeated measurements anova, while the implementation in effectsize / parameters does. I don't want to recode everything from scratch to make anova_stats()
work correctly for those "edge cases", so I want to "navigate" users to use effectsize and deprecate anova_stats()
.
from cgpfunctions.
If you plan to address this issue later, deprecation and removal in sjstats can also wait longer.
from cgpfunctions.
No problem at all I just needed to know if I had days or weeks to make the adjustments. Your plan is more than reasonable and really not a lot of work for me so just timing.
from cgpfunctions.
Btw, the next version of parameters (to be release by the end of January / beginning of February) will also be able to add a Power column to the output, just in case you need that information as well.
library(sjstats)
library(parameters)
data(efc)
# fit linear model
fit <- aov(
c12hour ~ as.factor(e42dep) + as.factor(c172code) + c160age,
data = efc
)
anova_stats(car::Anova(fit, type = 2))
#> term | sumsq | meansq | df | statistic | p.value | etasq | partial.etasq | omegasq | partial.omegasq | epsilonsq | cohens.f | power
#> ----------------------------------------------------------------------------------------------------------------------------------------------------------
#> as.factor(e42dep) | 4.265e+05 | 1.422e+05 | 3 | 80.299 | < .001 | 0.212 | 0.224 | 0.209 | 0.221 | 0.209 | 0.537 | 1.000
#> as.factor(c172code) | 7352.049 | 3676.025 | 2 | 2.076 | 0.126 | 0.004 | 0.005 | 0.002 | 0.003 | 0.002 | 0.071 | 0.429
#> c160age | 1.052e+05 | 1.052e+05 | 1 | 59.408 | < .001 | 0.052 | 0.066 | 0.051 | 0.065 | 0.051 | 0.267 | 1.000
#> Residuals | 1.476e+06 | 1770.307 | 834 | | | | | | | | |
model_parameters(fit, type = 2, power = TRUE)
#> Parameter | Sum_Squares | df | Mean_Square | F | p | Power
#> -------------------------------------------------------------------------------
#> as.factor(e42dep) | 4.26e+05 | 3 | 1.42e+05 | 80.30 | < .001 | 100.0%
#> as.factor(c172code) | 7352.05 | 2 | 3676.02 | 2.08 | 0.126 | 42.9%
#> c160age | 1.05e+05 | 1 | 1.05e+05 | 59.41 | < .001 | 100.0%
#> Residuals | 1.48e+06 | 834 | 1770.31 | | |
Created on 2021-01-08 by the reprex package (v0.3.0)
from cgpfunctions.
Related Issues (20)
- Is there a way to change the Label Color? HOT 2
- Save PlotXTabs output HOT 1
- newggslopegraph: line color based on change over time/slope? HOT 1
- The method to evaluate if dataframe exists only checks if it exists in Global Environment. HOT 2
- Typo variablename in vignette HOT 4
- Code breaking with upcoming ggplot2 3.3.1 release HOT 1
- CGPfunctions HOT 14
- Chang linetype based on a grouping factor HOT 2
- formatting numbers in newggslopegraph HOT 4
- Collision of numerical labels on slope graphs HOT 1
- Compatibility with Pipes (%>%) HOT 2
- Complete cases in chaid_table HOT 2
- cran install fails on R 4.0.5
- Grouping error: double observation on y-axis
- Delete lines between data.lable and y.text?
- Save plot2WayANOVA as an object
- R package CGP functions library load error HOT 3
- Include a better dataset with the package? HOT 1
- Is there a way to reverse the y-axis? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cgpfunctions.