Two Sample t-test for Independent Groups | Statistics Tutorial #23| MarinStatsLectures

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024
  • Two Sample t-test for independent groups: How to use the independent samples t-test or unpaired samples t-test to compare the means of 2 independent groups with examples!
    For more Statistics and R Programming Tutorials: goo.gl/4vDQzT - To learn how to conduct the independent two-sample t-test with R watch this video (bit.ly/2lOzw9h )and to learn how to conduct the Wilcoxon Rank-Sum (Mann-Whitney U) test (the nonparametric alternative to the two-sample t-test) in R Watch this video (bit.ly/2kiTitg... Statistics & R Programming Language Tutorials: ( goo.gl/4vDQzT )
    ►► Like to support us? You can Donate (bit.ly/2CWxnP2), Share our Videos, Leave us a Comment and Give us a Like! Either way, We Thank You!
    In this statistics video, we learn to compare the means of 2 independent groups using the two-sample t-test (independent samples t-test or unpaired samples t-test). The two-sample t-test requires assuming that the variance (or standard deviation) of the two groups being compared are either equal or not equal (at the level of the population). Here, we also learn to build a confidence interval for the mean difference, as well as how this can be used to test a hypothesis. Also, we make mention of the non-parametric alternative to the independent samples t-test: the Wilcoxon rank-sum test (also known as the Mann Whitney U Test). While we do show the calculations in the video, the video focuses on the concepts underlying the test.
    ►► Watch More:
    ► Statistics Course for Data Science bit.ly/2SQOxDH
    ►R Course for Beginners: bit.ly/1A1Pixc
    ►Getting Started with R using R Studio (Series 1): bit.ly/2PkTneg
    ►Graphs and Descriptive Statistics in R using R Studio (Series 2): bit.ly/2PkTneg
    ►Probability distributions in R using R Studio (Series 3): bit.ly/2AT3wpI
    ►Bivariate analysis in R using R Studio (Series 4): bit.ly/2SXvcRi
    ►Linear Regression in R using R Studio (Series 5): bit.ly/1iytAtm
    ►ANOVA Statistics and ANOVA with R using R Studio : bit.ly/2zBwjgL
    ►Hypothesis Testing Videos: bit.ly/2Ff3J9e
    ►Linear Regression Statistics and Linear Regression with R : bit.ly/2z8fXg1
    Follow MarinStatsLectures
    Subscribe: goo.gl/4vDQzT
    website: statslectures.com
    Facebook: goo.gl/qYQavS
    Twitter: goo.gl/393AQG
    Instagram: goo.gl/fdPiDn
    Our Team:
    Content Creator: Mike Marin (B.Sc., MSc.) Senior Instructor at UBC.
    Producer and Creative Manager: Ladan Hamadani (B.Sc., BA., MPH)
    These videos are created by #marinstatslectures to support some statistics courses at the University of British Columbia (UBC) (#IntroductoryStatistics and #RVideoTutorials ), although we make all videos available to the everyone everywhere for free.
    Thanks for watching! Have fun and remember that statistics is almost as beautiful as a unicorn!
    #statistics #rprogramming

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

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

    this is the 20th times I relearn this concept for the past 18 years. I like hw you focus on the concept not the calculation. Best Stat lecture I've seen so far !

  • @rong6968
    @rong6968 3 года назад +5

    How can this man writing inversely?

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

    The interpretation of this lecture is surprisingly thorough and easy to understand. When I read it carefully, everything makes sense, puzzle pieces together. It's so so so so much different from the gibberish I often heard in class - inconsistency, interchange concepts irresponsibly without notice, unidentified Subject, Object or Verb in the sentence :v
    I'm gonna watched it till the end, thank you Professor Marin.

  • @Roshaud
    @Roshaud 3 года назад +1

    love this guy, he’s so easy to understand

  • @RudradeepMukherjee
    @RudradeepMukherjee 4 года назад

    Thank you Mike for explaining how S.E.M of mean is calculated in a previous video. It helped me understand the S.E. of difference of mean in this video. You are a great instructor. Thanks again for also explaining the necessary concepts.

  • @paulaw3264
    @paulaw3264 5 лет назад +1

    Thank you so very much for providing this instruction, could not have made it through my research project without you.

  • @mago2007
    @mago2007 5 лет назад +1

    All your tutorials are great! Cheers and salutations from Argentina!

  • @amitkumta8272
    @amitkumta8272 4 года назад

    Hi Marin.. U r awesome.. u make the concept crystal clear and you have a beautiful handwriting

  • @luoluoluo321
    @luoluoluo321 4 года назад +4

    How did u get .24?

    • @joaopedrorocha.3819
      @joaopedrorocha.3819 2 месяца назад

      He uses the squar(Var(mean(Yinj) - mean(Yno))), using the properties of variance you find the formula: squar((SD1^2)/n1 + (SD2^2)/n2)

  • @tonytony1035
    @tonytony1035 9 дней назад

    If we already know the population mean, then why even do all this? I don't get it. Why even take a sample from a population whose characteristics are already known?

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

    great lecture...
    Should not be t calculated in CI is same as t(stat) calculated in the hypothesis test?

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

      no, because in a confidence interval the t-value of t that gets you the level of confidence you want (eg the value of t that captures 95% of the distribution), while for the hypothesis test the t-stat is calculating how many SEs your estimate is from the hypothesized value.
      this video may help explain more... ruclips.net/video/J-yMiTaai4c/видео.html

    • @marcoventura9451
      @marcoventura9451 3 года назад

      I made the same error

    • @divyanshasudani1042
      @divyanshasudani1042 3 года назад

      @@marinstatlectures but shouldn't we divide Standard error by root n, like we did everywhere previously?

  • @fabiovargasbr
    @fabiovargasbr 4 года назад +1

    Wait, t-value=2.92, which affect the: CI = 0.7 +- (2.92)*0.24. => CI = -0.0008 to 1.4. How do I thing of it? The t-value is just a guide? Zero is in the CI? Should still I reject h0?

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

      T value should be 2.04 as we calculate confidence interval for 95% that means 2 standard deviation, therefore z value should be 2 and similarly t value should be 2.04.

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

      No, t that you meant is t stat not the tvalue. So here from what he already explained that t val for 95% confidence was roughly 2. CMIIW

  • @abonady6747
    @abonady6747 3 года назад

    please explain how did you get the p-value ?

  • @thegdt37
    @thegdt37 4 года назад +1

    Hello Mike,
    How did you find the standard error? By the pooled estimation or something like that?

    • @marinstatlectures
      @marinstatlectures  4 года назад

      Yes, exactly. I left that of this video, to focus on the concepts and not the calculations. In a separate video before this one I explain the calculation of the SE..you can see that here if you want the details: ruclips.net/video/ikS7itcmWZM/видео.html

  • @pilobond
    @pilobond 4 года назад

    Just in terms of nomenclature, I am not 100% sure what the difference between one sample, two sample and paired t-tests are. It seems that at the end, we do the same calculation, but perhaps how we come to the "t distribution" to be used in the calculation is slightly different. (mostly how we calculate sd it seems.) Is this correct or am I missing something? Perhaps a lecture just highlighting the difference and commonality might be useful in solidifying the concepts. Thanks! These lectures and matching R lectures are wonderful.

    • @marinstatlectures
      @marinstatlectures  4 года назад +5

      yes, they're pretty similar...here's the difference:
      The One Sample t-test: is for when you have one numeric variable and you will test about the mean. so you have the mean for one group. ex. is the mean blood pressure for a population greater than 120?
      The Paired t-test: is for when you want to compare the mean of two different groups, but the groups are paired/dependent/matched in some way. ex. you have people's blood pressure Before some treatment and then their bold pressure After a treatment. you want to compare the mean before to the mean after...and the before/after are paired...they are the same people.
      The Two Sample t-test: is for what you want to compare the mean of two different groups, and the groups are independent of one another. ex. you have one set of people and you give them treatment A and the measure their bold pressure. you have a different set of people (independent) and you give them treatment B and then measure their blood pressure. you want to compare the mean blood pressure for group A and for group B.
      so, they're all very much related.
      one sample t-test is for tests about one mean
      two sample t-test is for comparing means of 2 groups that are independent
      paired t-test is for comparing means of 2 groups that are paired/matched

    • @ftedg
      @ftedg 4 года назад

      @@marinstatlectures Thank you!

  • @user-xu7pg8fw9q
    @user-xu7pg8fw9q 2 года назад

    Dear Dr. Martin,
    I have been watching your chanel - it has great videos!
    Could you kindly redirect me if you have any videos on sample size calculations?

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

    wait how the frick do u write backwards so quickly