Chi Squared Test using R programming

Поделиться
HTML-код
  • Опубликовано: 21 авг 2024
  • The Chi Squared test of independence and the goodness of fit test are statistical tests used on categorical data. Using R programming you can very easily run these tests and generate a p-value. This video is really an R programming for beginners video. If you’re doing research or data science and need to learn how to analysis data using statistics, then this video is for you. The chi-squared tests is part of a series of tests being explored on this channel, including the t-test, ANOVA and linear regression. All of these tests require that you have a basic understanding of hypothesis testing.

Комментарии • 43

  • @RProgramming101
    @RProgramming101  Год назад +1

    Get my FREE cheat sheets for R programming and statistics (including transcripts of these lessons) here: www.learnmore365.com/courses/rprogramming-resource-library

  • @user-ct3yc5tl4x
    @user-ct3yc5tl4x 7 месяцев назад +1

    I just recently started a programming course for my degree and have been incredibly intimidated the whole time. This video has single-handedly made my week because it's broken down wonderfully. I am so appreciative of you work, time, and passion

  • @LillySwift
    @LillySwift Месяц назад +1

    Thank you for saving our lifes !

  • @sarahmills4404
    @sarahmills4404 2 года назад

    Really good for both clarity & practicality, many thanks. Working my way through all your others & keenly awaiting the one on linear regression.

  • @timothygutierrez
    @timothygutierrez 7 месяцев назад

    "Now, we're cooking with gas." Love it. Never change!

  • @romanvasiura6705
    @romanvasiura6705 Год назад +1

    I will share my achivments and questions during replicating materials that you showed in this video:
    pros: 1. Accidentally I opened how to put comments in multiple rows (but if I want to use tab button - RStudio showed me @code...) - probably I'll open in a future what it means.
    cons: 1. I am curious to know... where I can find whole code to build these graphs?
    How i can build two graphs on the one plot?
    P.S. I guess you have an explanation of it in your private course. Am I right?
    2. How RStudio indentify "small" is small? or other kind of labels.
    As always I thank you for this great video lesson! Hopefully, I am going understand it more and more.

  • @muhammedhadedy4570
    @muhammedhadedy4570 2 года назад +5

    Excellent as usual. I wait for every episode of your great tutorial.
    Just one question. Can we run a post hoc analysis if chi square test is significant between 3 or more groups?

  • @paulyoung3897
    @paulyoung3897 2 года назад +1

    Great as always. Thanks so much

  • @thomassauv1893
    @thomassauv1893 2 года назад

    Thanks for your tutorial ! It helped again !

  • @notyourrealfather
    @notyourrealfather 9 месяцев назад

    I would genuinely love to see the code for making those bar graphs. I'm sure I could figure it out, but I know it'd take me longer than I have time currently haha

  • @mingyangcui3771
    @mingyangcui3771 Год назад

    Excellent video. But I am wondering if you could show us how to assign specific value to different lables?

    • @joseoviedo4529
      @joseoviedo4529 Год назад

      Hi, maybe check out some other tutorial videos for forcats package

  • @bbluca94
    @bbluca94 Год назад

    thank you very much!

  • @huseyintoptay9666
    @huseyintoptay9666 Год назад

    I just loved it

  • @moxiebombshell
    @moxiebombshell Год назад

    Excellent again. Many thanks 🙏

  • @andresrengifo7801
    @andresrengifo7801 2 года назад

    explained simple...voalá thanks

  • @apelsinbzz
    @apelsinbzz 2 года назад +1

    perfect

  • @rasinrs
    @rasinrs 2 года назад

    Nice class. Thank you. Can u connect this with odds, odds ratio and Logistic regression 🤷‍♂️

  • @user-ee1xe8fz6i
    @user-ee1xe8fz6i 11 месяцев назад

    i love you so much

  • @isheshejimawo6549
    @isheshejimawo6549 2 года назад

    What if your expected values are known?

  • @rishikeshdash12
    @rishikeshdash12 11 месяцев назад

    is it possible to do analysis of co-occurrence network analysis using iris data, because I found some people shown it text data like word files. Can you please help me on that

  • @anthonycrawford9564
    @anthonycrawford9564 2 года назад

    When the fire is boiling in the blood.

  • @lutfyanwar1157
    @lutfyanwar1157 2 года назад

    PLEASE NEED HELP..how do I find the mean for..an example..the mean of age of graduate students which is under column named STATUS...so finding the mean for a column for another columns..hope this makes sense

    • @draprincesa01
      @draprincesa01 2 года назад

      What

    • @felipem8639
      @felipem8639 Год назад

      Hi Lutfy you can do it like this (if you have the data just load it in your R environment, using read.csv or another function of readr library, if you want to install the package use install.packages("readr"))
      # data to convert into a data frame, because i don't have the data, this is a way to make your own data, we use very often a data frame object, to create a data frame, use data.frame, if you want to give a lot of values in your columns use c() to concatenate values.
      # Creating the columns and values inside it, the number of value must matches with each column.

      Status = c("graduated", "not graduated","not graduated","graduated")
      Age = c(21,25,20,50)
      graduated_status %
      summarise(my_mean = mean(Age))
      Hope this help.
      See ya

  • @LeahInTheRye
    @LeahInTheRye Год назад

    hi hoping someone can help, I read in the data using data() followed by head(iris), but at the end of running the script I get an error of 'Error in select(Species, Size) : object 'Species' not found'

    • @LeahInTheRye
      @LeahInTheRye Год назад

      Solved! I forgot to pipe the select function to the creation of the Size object. Leaving the comment for anyone else who makes the same mistake

    • @RProgramming101
      @RProgramming101  Год назад

      hi there - thanks for the feedback! I have the cheat sheet available that you can get at the end of my video. Thanks

    • @sertansafak2056
      @sertansafak2056 Год назад +1

      @@LeahInTheRye I did the same mistake...

    • @LeahInTheRye
      @LeahInTheRye Год назад

      @@sertansafak2056 glad my comment helped 😅

    • @sertansafak2056
      @sertansafak2056 Год назад

      @@LeahInTheRye acc i solved it by myself, but just wanted to share that u're not alone

  • @calvinsmith6899
    @calvinsmith6899 2 года назад

    We don't love people so much for the