R demo | Chi-Square Test | How to conduct, visualize and interpret | + pairwise post-hoc tests

  Рет қаралды 8,715

yuzaR Data Science

yuzaR Data Science

Күн бұрын

Пікірлер: 36
@hikeaway1596
@hikeaway1596 7 ай бұрын
I can't stop watching your videos ;) please produce more of them, It's really fun to learn from your content.
@yuzaR-Data-Science
@yuzaR-Data-Science 7 ай бұрын
learning addiction is the best addiction ever! ;)
@jammaningas8850
@jammaningas8850 3 ай бұрын
Very easy to follow! Nice!
@yuzaR-Data-Science
@yuzaR-Data-Science 3 ай бұрын
Glad you think so! 🙏 you might like other videos too 😉
@ManuelAlejandroCastroGarcia
@ManuelAlejandroCastroGarcia 7 ай бұрын
Thanks for sharing your knowledge. How can I add the Yate´s correction into the plot?
@yuzaR-Data-Science
@yuzaR-Data-Science 7 ай бұрын
Unfortunately, either not possible, or I don't know why and how. But thanks for good feedback!
@osmanhabeeb9892
@osmanhabeeb9892 2 жыл бұрын
I was looking for the means separation of chi-square test in R. THANKS ALOT.
@yuzaR-Data-Science
@yuzaR-Data-Science 2 жыл бұрын
I am glad it was useful!
@JohnLee-pi5qx
@JohnLee-pi5qx 2 жыл бұрын
Thanks for the great video! Any tips for changing colors of the bars?
@yuzaR-Data-Science
@yuzaR-Data-Science 2 жыл бұрын
Thanks, mate, sure: library(ggplot2) ggbarstats(mtcars, am, cyl, results.subtitle = FALSE) + scale_fill_manual(values = c("#E7298A", "#66A61E"))
@neleluisa9210
@neleluisa9210 Жыл бұрын
this was very helpful, thank you! Is there a way to calculate Cramer's V for the pairwise post hoc tests?
@yuzaR-Data-Science
@yuzaR-Data-Science Жыл бұрын
Not yet! But it's a great question. I have to google it first. There is another cool package, I did not do a review yet - effectsize. Check out whether this one does the job. Thanks you for watching!
@dewidinevandercolff3999
@dewidinevandercolff3999 2 жыл бұрын
Thanks, this was really easy to follow!
@yuzaR-Data-Science
@yuzaR-Data-Science 2 жыл бұрын
Great to hear! Thanks!
@andreapaolacotesperdomo2293
@andreapaolacotesperdomo2293 Жыл бұрын
Hi, great tutorial, many thanks! Any advise for comparison of one continuos vs one categorical variable?
@yuzaR-Data-Science
@yuzaR-Data-Science Жыл бұрын
thanks! sure, I have similar short video of t-test, Wilcoxon, ANOVA, Kruskal-Wallis, Repeated Measures ANOVA, Friedman .... they all deas with one continuous and one categorical variables, check them out and find what fits your need best. Cheers and thank you for watching!
@andreapaolacotesperdomo2293
@andreapaolacotesperdomo2293 Жыл бұрын
@@yuzaR-Data-Science thank you very much 😁
@yuzaR-Data-Science
@yuzaR-Data-Science Жыл бұрын
@@andreapaolacotesperdomo2293 you are welcome!
@Ange-y1k
@Ange-y1k 3 ай бұрын
First of all, thank you. The video may be old, but I'm only watching it now. How do you go about post-hoc testing when comparing two variables with more than two categories? (I am having an error saying: 'x' must have 2 columns)
@yuzaR-Data-Science
@yuzaR-Data-Science 3 ай бұрын
hi, your error message is most likely due to having only 1 category, not >2. sure, you can do post-hocs easily, here is how, but I think I talked about it in the video: install.packages("rstatix") library(rstatix) contingency_table
@Ange-y1k
@Ange-y1k 3 ай бұрын
@@yuzaR-Data-Science Thank you for your answer. I used the same code, but replaced it with variables, each with 3 categories, it didn't work and gave me that code error.
@yuzaR-Data-Science
@yuzaR-Data-Science 3 ай бұрын
again, >2 categories is not the problem. here is the proof for two categorical variables with 3 categories each: ggstatsplot::ggbarstats(mtcars, cyl, gear). Something is wrong in your data, may be in your table, or some packages are not installed.
@ouss991
@ouss991 3 жыл бұрын
Thanks Yuri, great tutorial as usual. I have a question : can I actually use these plots in a paper or thesis, or do I have to create a conventional barplot without the stats?
@yuzaR-Data-Science
@yuzaR-Data-Science 3 жыл бұрын
Hey Ouss, you can absolutely use them for a paper. They make your text cleaner, because you have all the stats on the plot, and not in the brackets, which disterbs the flow. You can do both, 1) save the plot with ggsave, where you can adjust everything, like size etc. and 2) you can create you own plot and use package "statsexpressions" from the same creator as "ggstatsplot" to add statistics to your own custom plot. Cheers.
@ouss991
@ouss991 3 жыл бұрын
Great. Thanks for the quick response. Looking forward to new videos 🙏
@yuzaR-Data-Science
@yuzaR-Data-Science 3 жыл бұрын
you are very welcome :) more videos are on the way ;) thanks for watching!!!
@evansnyanney7431
@evansnyanney7431 2 жыл бұрын
I tried using it but I am facing lil bit difficulties- that ! Can’t convert to a symbol
@yuzaR-Data-Science
@yuzaR-Data-Science 2 жыл бұрын
convert it to a factor: data %>% factor(bla = factor(bla))
@so4ragb
@so4ragb 3 жыл бұрын
thanks, great tut
@yuzaR-Data-Science
@yuzaR-Data-Science 3 жыл бұрын
You are welcome!
@ecovisionando
@ecovisionando 3 жыл бұрын
Thanks 😀
@yuzaR-Data-Science
@yuzaR-Data-Science 3 жыл бұрын
You're very welcome 😊
@siriyakcr
@siriyakcr 3 жыл бұрын
🥰🥰 super yuri
@yuzaR-Data-Science
@yuzaR-Data-Science 3 жыл бұрын
Thanks, Siriyak!
@ManuelAlejandroCastroGarcia
@ManuelAlejandroCastroGarcia 7 ай бұрын
Thanks for sharing your knowledge. How can I add the Yate´s correction into the plot?
@yuzaR-Data-Science
@yuzaR-Data-Science 7 ай бұрын
Unfortunately, either not possible, or I don't know why and how. But thanks for good feedback!
R demo | McNemar Test | How to Conduct, Visualise and Interpret
4:44
yuzaR Data Science
Рет қаралды 4,7 М.
Chi Squared Test using R programming
16:59
R Programming 101
Рет қаралды 41 М.
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
Post Hoc Test after a Chi-Square Test (3 by 3) using SPSS and Excel
15:54
Categorical Data I: Proportions testing | Z test | Chi Squared test
13:34
How To Know Which Statistical Test To Use For Hypothesis Testing
19:54
Amour Learning
Рет қаралды 820 М.
PERFECT TABLES IN #R ! 💪 {gtsummary}
11:13
yuzaR Data Science
Рет қаралды 30 М.
Chi-Square Test of Independence in R
18:11
David Caughlin
Рет қаралды 5 М.
FIND THE BEST MODEL #R ! 💪 {glmulti}
13:27
yuzaR Data Science
Рет қаралды 13 М.
T-test, ANOVA and Chi Squared test made easy.
15:07
Global Health with Greg Martin
Рет қаралды 327 М.
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН