You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wonder if it is possible to extract effect size for each group comparisions:
# install.packages("tidyverse") # for everything ;)
library(tidyverse)
# install.packages("ISLR")
library(ISLR)
# install.packages("ggstatsplot")
library(ggstatsplot)
# stabilize the output of "sample_n()"
set.seed(1)
d <- Wage %>% group_by(education) %>% sample_n(50, replace = TRUE)
p<- ggbetweenstats(
data = d,
x = education,
y = wage,
type = "nonparametric",
xlab = "education", ## label for the x-axis
ylab = "wage", ## label for the y-axis
## turn off messages
ggtheme = cowplot::theme_cowplot(), ## a different theme
package = "yarrr", ## package from which color palette is to be taken
palette = "info2", ## choosing a different color palette
title = "Comparison of wage across education",
caption = "Source: Gapminder Foundation")
p
I see that effect size calculated for the entire dataset: however it is not informative- since each pairwise Comparision can have variable effect size, so it would be nice to replace p values on a plot with the actual effect sizes
The text was updated successfully, but these errors were encountered:
I wonder if it is possible to extract effect size for each group comparisions:
I see that effect size calculated for the entire dataset: however it is not informative- since each pairwise Comparision can have variable effect size, so it would be nice to replace p values on a plot with the actual effect sizes
The text was updated successfully, but these errors were encountered: