T-test, ANOVA and Chi Squared test made easy.

Поделиться
HTML-код
  • Опубликовано: 27 сен 2024
  • Statistics doesn't need to be difficult. Using the t-test, ANOVA or Chi Squared test as part of your statistical analysis is straight forward. You do need to understanding the underlying principles of hypothesis testing and p-values of course. You need to understand when to reject the null hypothesis and accept the alternative hypothesis if you are going to make any inference about the population from your sample data. If you are doing any data analysis or statistical analysis then this video is a must. If you are an aspiring data scientists or doing quantitative research, then this is a good place to start.
    SUBSCRIBE:
    --------------------
    Click here: www.youtube.co...
    BECOME A MEMBER
    ---------------------------------
    / @gregmartin
    This channel posts global health and public health teaching videos and videos about how to find the right job in global health. If you haven't already, please consider subscribing to this channel and becoming part of this community. The channel also provides teaching on research methods, statistical analysis and how to write and publish a scientific paper.
    LETS CONNECT:
    ---------------------------
    Twitter: @drgregmartin
    Linkedin: / drgregmartin
    Facebook: / thisweekinglobalhealth

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

  • @gregmartin
    @gregmartin  Год назад +4

    Get my FREE cheat sheets for Public Health, Epidemiology, Research Methods and Statistics (including transcripts of these lessons) here: www.learnmore365.com/courses/public-health-epidemiology-research-methods-and-statistics-resource-library

  • @gilangignasraharjo6138
    @gilangignasraharjo6138 Год назад +78

    It's not "Super Duper Easy" but you made it easier. Thank you sir

    • @gregmartin
      @gregmartin  Год назад +3

      So nice of you! Always happy to help. Thank you for the amazing feedback!

  • @gunamrit
    @gunamrit 7 месяцев назад +12

    Ryan Reynolds teaching me stats is the best combo I could ask for !
    Thank You so much!

    • @gregmartin
      @gregmartin  6 месяцев назад +2

      😄 Absolutely thrilled you enjoyed it!

  • @hisnibs1121
    @hisnibs1121 2 года назад +18

    Thank you Greg. This is the second of your videos on quantitative analysis I've watched, and I really like both your style and the pace at which you proceed through this stuff. It's ideal for me and for my current purposes - revising for work purposes, against a tight deadline, stuff I haven't done for many decades, and probably only half-understood at the time, .

    • @gregmartin
      @gregmartin  2 года назад +3

      Glad you like them! Thank you for your awesome feedback!

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

    These vids perfectly compliment stats lectures. It’s easy to ignore the understanding/applications of stats when studying but these tie in an understanding of what I am actually doing

  • @rauldhruva2372
    @rauldhruva2372 Год назад +4

    I had to watch the video couple of times and a playback speed of 0.5...
    Concept is crystal clear now
    Thanks a lot!

  • @md.masumomarjashim
    @md.masumomarjashim 2 года назад +6

    The code with statistical videos would make our day.

  • @haraldurkarlsson1147
    @haraldurkarlsson1147 2 года назад +25

    Greg,
    Another solid video. One thing that I was taught in statistics is that we never accept the NULL hypothesis. We either reject it or fail to reject it. I guess it is because there is always a chance - even at p=0.05 that the hypothesis might be correct even when we reject it etc. (false positives and such). Also does the variance not have to be the same in these samples or populations that we compare?

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

      you are correct, it it either we fail to reject or fail to reject.

    • @razzle_gapl9639
      @razzle_gapl9639 4 месяца назад +1

      Exactly what I was going to say when I heard his explanation of samples too unlikely to get when the null hypothesis is true. I would just add that we never ACCEPT the alternate hypothesis either, because that would lead to a lot of legal issues when there’s an error

    • @haraldurkarlsson1147
      @haraldurkarlsson1147 4 месяца назад

      @@razzle_gapl9639 I don't know if you have heard of a book called Fictitious Science which was written by a psychologist working in academia. It is a real eye-opener in regards to p-hacking etc.

  • @taffy6886
    @taffy6886 8 месяцев назад

    Thank You. Your teaching style is excellent. I have had so many light bulb moments while watching your videos.

  • @mirandacox3751
    @mirandacox3751 5 месяцев назад

    Love your videos, still! I always find your explanations the best ever.
    Thanks for the work!

  • @alexfrank1831
    @alexfrank1831 2 года назад +3

    TIL when to use which test to check significance of hypotheses:
    - If two means, then use paired t-test
    - If three means then use ANOVA
    - If more use Chi-squared

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

      Let's see if my understanding needs to be corrected ; )

    • @gregmartin
      @gregmartin  2 года назад +4

      you got it but you don't always do a paired t-test for two means. I normal t-test is fine unless the two means are frame samples where the observations can be matched. So "before and after" for example. For each person in the "before group" he or she is matched with themselves in the "after" group.

  • @jamesleleji9470
    @jamesleleji9470 2 года назад +2

    Thanks for providing this tutorial, Greg.
    Suppose we have a baseline data and post intervention data.
    How can the following test of significance be performed in R or what kind of test is appropriate to perform?
    T-Test to Determine the Statistical Significance of the Baseline Food Security
    T-Test to Determine the Statistical Significance of the Post Intervention Food Security
    T-Test to Determine the Statistical Significance of the Difference of Differences of Food Security

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

      Hi Leleji,
      First you need to determine the response Y you're intersted in for which you want to compare the difference in means between the two conditions (Baseline and Post intervention). To apply the t-test which is a parametric test, you data need to comply with certain assumptions namely independance and variance homogeneity and normality of the residuals. And no need to remind that the response Y should be Quantitative.
      # R code
      > t.test(Y_Baseline, Y_PostIntervention, alternative = "two.sided", var.equal = TRUE)

  • @Biostatistics
    @Biostatistics 2 года назад +4

    Hi Greg, this is another wonderful video. Please may I know what software you use for video editing as well as animations? Thank you in advance

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

    Thanks for the vid! Tho could you maybe not use the scratching noice when putting new things in? It really is painful haha

  • @venkatk1414
    @venkatk1414 Год назад +2

    Struggling to understand 😢

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

    Nice video. It may be good to clarify that the assignment of the null hypothesis to a statement is arbitrary. For example if the "life expectancy" example was worded differently, the null hypothesis, H0, could have been "Mean life expectancy IS NOT the same" and H1 could have been "Life expectancy IS the same." The meaning of the null hypothesis in this case would have been flipped from the example the video.

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

      Great point! Thanks for the feedback

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

    First, thanks Greg. I have 32 patients, each with three changing coordinates over the course of 40 days. I mean, for each patient, I have 40 values on an axe x, 40 values on an axe y, and 40 values on an axe z. I have no idea what kind of test to use.

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

    Very good video .... i really like the way u deliver in as much layman as u can
    where can i get the dataset that you used in this video?

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

    Thank you. These are perfect. Thank you for sharing your passion. I appreciate you.

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

      Glad you like them! You are so welcome

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

    At 06:30 why are you talking about paired test? These were different groups of people. Why do you think they are paired or linked?

  • @Remifentanil
    @Remifentanil 10 месяцев назад

    Great Video. You should put time stamps in the video.

  • @asierlarreategui
    @asierlarreategui 8 месяцев назад +1

    Great video. Pitty that your audio and sound effects are not great. Almost annoying.

    • @gregmartin
      @gregmartin  7 месяцев назад +4

      I appreciate the feedback and will make sure to adjust the audio effects for a better listening experience. Thanks for pointing it out!

  • @phearuntich2997
    @phearuntich2997 6 дней назад

    Thank you for your sharing.

  • @emmanuellesaintmerant9657
    @emmanuellesaintmerant9657 10 месяцев назад

    how are you getting these numbers. its a lot information.

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

    Thank you so much Greg. Great work.

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

    This vid is legit.... please keep the good work!

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

      That's kind of you to say - Thanks!!

  • @rhysstevomusic1338
    @rhysstevomusic1338 3 месяца назад

    How is a relationship based on a difference of proportions between samples. I think this is wrong

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

    Hi Greg, I am curious about what tool you used for analysis in this video?

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

    To someone reading this, pls helpp
    I'll be doing two-sample t-test, but I don't know what variable i should use.
    Our alternative hypothesis is: there is a significant difference between using manual method and using GCHM (our own grain-collecting machine) in collecting rice grains.

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

    is it wise to do a t-test in those life expectancies when those seems to be population density plots? we only perform tests if data are from samples right?

  • @wilhelmhesse1348
    @wilhelmhesse1348 6 месяцев назад

    One thing missed is how to calculate the P values

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

    Thank you very much. Excellent teaching video.

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

      Thank you so much for the amazing feedback

  • @amylawsongill
    @amylawsongill 2 месяца назад

    I like this guy and was going to subscribe but the MUSIC has stopped me

    • @gregmartin
      @gregmartin  2 месяца назад

      sorry about the music.. will try to look at that :)

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

    thanks for making it more complicated , or may be I'm too stupid for this

  • @tombayes9706
    @tombayes9706 2 года назад +7

    Great informative video Greg, thanks! One question - if your ANOVA result is significant, leading you to follow up with post-hoc tests, such as a t-Test with some kind of family wise error rate adjustment such as bonferroni, why bother with the ANOVA in the first place? Couldn't you just run the t-Tests and adjust the p-values for the number of tests (as per bonferroni), making the ANOVA redundant. I appreciate for lots of groups this would be time consuming but is that the only benefit of the ANOVA in that case, efficiency? I can't see how it offers any extra protection against type 1 error if the end result is to run t-Tests and report corrected p-values anyway? Appreciate any thoughts! Thanks and keep up the great vids.

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

      I think this is a great question. I don’t know but perhaps skipping the ANOVA step and just doing many between-two-group comparisons would increase the risk of a type 1 error, and would be akin to data dredging? E.g., comparing samples from all Western European countries to see if life expectancy differs. Is the ANOVA step somehow ‘protective’?

  • @rajxabc
    @rajxabc 4 месяца назад

    low freq boost on voice processing enhances fumbling .

    • @gregmartin
      @gregmartin  3 месяца назад

      Thanks for the feedback

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

    Greg, is there an online resource where I can practice questions about exactly which test to use in different circumstances?
    Watching your videos has given me confidence, but I still want to test myself out..

    • @gregmartin
      @gregmartin  2 года назад +4

      I'll see what I can find and get back to you

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

      @@gregmartin Thanks!

  • @10lynn01
    @10lynn01 2 года назад

    you’re an angel thank you so much

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

    Awesome stuff, thank you!

  • @bradleysande9832
    @bradleysande9832 10 месяцев назад

    Sir did you watch Deadpool

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

    Finally, thanks !

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

      :) Glad you liked it Sergio

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

    Thank you so much

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

    धन्यवाद जी।
    👏👏

  • @poyahancouk
    @poyahancouk Месяц назад

    I have no idea why Deadpool is so good at statistics.

  • @MohdFarhan-ye9kc
    @MohdFarhan-ye9kc 2 года назад +1

    Thank You.

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

    Thanks Mr Greg
    Please I need this strategy of preparing lessons. I mean to say the vedeo editing

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

    Thank you!

  • @Sergiuss555
    @Sergiuss555 Год назад +2

    very difficult to listen with all the stutter, uneven sound volume, and added sound effects

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

    Thank

  • @lavas3l677
    @lavas3l677 6 месяцев назад

    the explanation was good but the music and the sound effect are really distracting i wish the video was without it

    • @gregmartin
      @gregmartin  5 месяцев назад

      I appreciate the feedback, thank you!

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

    Clear as mud champ! :(

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

    I can't help but seeing a smarter version of ryan reynold teaching me

  • @Ali.Sadiq406
    @Ali.Sadiq406 8 месяцев назад

    والله والنعم

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

    How you can speak that fast, thinking fast

  • @LISA.WANG.
    @LISA.WANG. 2 года назад

    11:10

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

    Nice but we can’t ever accept hypotheses, only fail to reject.

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

    coool

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

    maybe just me, this video is not very well explained for beginners, language description wise, maybe for people who has some basics. and 2nd half of video is more about coding instead of explain or summary from math perspective.

    • @larshmallows
      @larshmallows 6 месяцев назад

      Not absolute beginner no, need some basic knowledge on statistical data analysis. Wouldn't say it's coding, the numbers may make it appear so but they're just outcomes of the test

  • @ChristianAngangan
    @ChristianAngangan 6 месяцев назад

    ❤️‍🔥

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

    You call this Explantation easy 😅

  • @cardiyansane1414
    @cardiyansane1414 10 месяцев назад

    Nice but those statistics…. Not accurate

  • @szocsdaniel
    @szocsdaniel 4 месяца назад

    I wonder why he used European vs African life expectancy and not IQ as an example... ;)

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

    Dear God, please help me! SMH

  • @cphone8093
    @cphone8093 Год назад +2

    Anyone who says stats are uncomplicated, 'super-dooper easy' (!) has spectrally low levels of empathy. He then follows with a rapid-fire explanation and throws-in complex digressions...this is no teacher. If you are a teacher you know some things you should never say to learners, and you know how to modify your pace of delivery. This guy's an amateur.

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

    hard to follow way too fast...dissapointing

  • @adelalsaeedi
    @adelalsaeedi 2 года назад +2

    How I wish there would be a translation of a video to support the channel. The channel is beautiful in science. Raising the number of views is suggested to you
    Cc

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

      Thanks. Will see what I can do.

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

    Thanks!

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

    Thanks a lot!

  • @kelseysbookrecs
    @kelseysbookrecs 7 месяцев назад +2

    you're single-handedly getting me through school

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

      I'm so happy to be able to help! Keep up the great work

  • @bagm27drano27
    @bagm27drano27 9 месяцев назад +1

    i had to research the appropriate stat tests with no guidance for my dissertation (not a biostat student). this short video put my mind at ease. thank you!

  • @antoinetteferrari4176
    @antoinetteferrari4176 27 дней назад

    T-Test 00:43 ANOVA 7:56 Chi-square 11:00

  • @naveenarora5310
    @naveenarora5310 7 месяцев назад +1

    Teaching is very good

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

      Thank you! Glad to hear that.

  • @federicogarland272
    @federicogarland272 2 года назад +2

    your videos are amazing!

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

      Glad you like them! Thank you so much!

  • @MoumitaHanra
    @MoumitaHanra Год назад +2

    Amazing! Not everyone teaches us say all possible scenarios of implementing each hypothesis test..very helpful!

  • @thomasabbott1757
    @thomasabbott1757 10 месяцев назад

    Great video, thank you
    I had a quick question, can you explain the difference between a two independent sample with dichotomous outcome test and a chi-square test of independence that uses two independent samples? I feel like you can use both for the same data set. For example, prevalence of CVD among smokers and nonsmokers.
    Thank you

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

    Is anyone else here because of the Harvard sandal? While am still here thank you for this good explanation👏

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

    Good day. Was wondering how I could carry out a T-test and anova using data gotten from bacteria culture

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

    hi thank s for videos
    i am wondering how minimum numbers of items i should take in my data to make test significant?

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

    Thanks a lot Sir.

  • @thatomofolo452
    @thatomofolo452 5 месяцев назад

    Got it 💯

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

    Greg! Spectacular resource. Thanks!

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

    What are those decimals on the y axis?

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

    Poor sound quality

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

    Helpful , thank you for this video 👍🏻

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

    Super video- thank you

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

      So nice of you - thanks, Ryan.

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

    Not needed to speed up the talk. I would rather watch 2 minutes longer video.

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

    Hi - this is so much easier to understand than my MSc lessons!
    Just to check if i've understood...There's actually very little difference between a t-test and a chi-squared test and how you would check if you can reject the null hypothesis. If your p-value is less than your threshold of 0.05 then its significant and you can reject. It's just the type of graph due to the type of data used that changes? But if you're given the data in a table, the results you need (CI, p-value, SD, etc.) are the same?

    • @gregmartin
      @gregmartin  2 года назад +4

      I think you’ve got it! I have a video about hypothesis testing on my global health channel. You might like it.

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

      @@gregmartin link to the other channel, Prof. Martin 🙏🏾

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

    Yes i am reading the positive comments and yes i am grateful for this video but when you keep stuttering and repeating the same words 4 times a row, or using large connecting words, it is very difficult to understand what you are trying to convey, or I am just really dumb xD

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

    Thank you for making this !!