Це відео не доступне.
Перепрошуємо.

Hypothesis Testing - Difference of Two Means - Student's -Distribution & Normal Distribution

Поділитися
Вставка
  • Опубліковано 18 сер 2024
  • This statistics video explains how to perform hypothesis testing with two sample means using the t-test with the student's t-distribution and the z-test with the normal distribution table.
    Confidence Intervals & Margin of Error: • How To Find The Z Scor...
    Find The Z-Score Given Confidence Interval:
    • How To Find The Z Scor...
    Student's T-Distribution:
    • Student's T Distributi...
    Hypothesis Testing - Null & Alternative:
    • Hypothesis Testing - N...
    Type I and Type II Errors:
    • How To Identify Type I...
    One Tailed and Two Tailed Tests:
    • One Tailed and Two Tai...
    _______________________________________
    Test Static For Means & Pop Proportions:
    • Test Statistic For Mea...
    Hypothesis Testing Problems:
    • Hypothesis Testing Pro...
    P-Value Method - Hypothesis Testing:
    • P-Value Method For Hyp...
    Hypothesis Testing - Proportions:
    • Hypothesis Testing - S...
    Difference of 2 Means - H Testing:
    • Hypothesis Testing - D...
    Cohen's D - Pooled Standard Deviation:
    • How to find Cohen's D ...
    Hypothesis Testing - 2 Proportions:
    • Hypothesis Testing Wit...
    __________________________________
    Matched or Paired Samples t-Test:
    • Matched or Paired Samp...
    Chi Square Test:
    • Chi Square Test
    Chi Square Distribution Test:
    • Chi Square Distributio...
    Test of Independence - Chi Square Dist:
    • Test of Independence U...
    Final Exams and Video Playlists:
    www.video-tuto...
    Full-Length Videos and Worksheets:
    / collections

КОМЕНТАРІ • 215

  • @TheOrganicChemistryTutor
    @TheOrganicChemistryTutor  Рік тому +5

    Next Video: ua-cam.com/video/GDe4M0xEghs/v-deo.html
    Final Exams and Video Playlists: www.video-tutor.net/

  • @sinaabedini7487
    @sinaabedini7487 4 роки тому +94

    You have made my first year of biotechnology biology courses much more enjoyable by teaching me in every area of science (math,statistics, chemistry and organic chemistry) that is difficult for me to grasp. May God bless you and please keep up the good work. You are a TRUE professor.

  • @arnmandleg
    @arnmandleg 2 роки тому +84

    Does this guy literally teach everything in the realm of STEM? What a legend!

    • @foliumviride2547
      @foliumviride2547 2 роки тому +12

      I am also a STEM student and he is literally my god

    • @alvinlin8140
      @alvinlin8140 Рік тому +1

      Hey question for two independent or depend samples, we won’t always be testing the difference right?

  • @upinmyTARDIS
    @upinmyTARDIS 2 роки тому +164

    Degrees of freedom can also be calcuated by DF= (N1 + N2) -2

    • @DorannyR
      @DorannyR 2 роки тому +6

      Much easier to do it that way !

    • @thefuckingpearl
      @thefuckingpearl 2 роки тому +25

      No that is when variances are pooled together.

    • @giuseppesiragusass
      @giuseppesiragusass 2 роки тому +9

      DF are N1+N2-2 if you hypotize/know that the populations of the two groups have equal variance. Viceversa, you use the formula in the video

    • @katongomjuma364
      @katongomjuma364 Рік тому +5

      That is for equal variances.

    • @alicemasunu8604
      @alicemasunu8604 Рік тому

      Nice one.

  • @octaviobiols-sales7282
    @octaviobiols-sales7282 2 роки тому +34

    Super great video, thank you so much. It helps a lot :D!
    I just wanted to add something not mentioned in the video but probably very important: when computing the t-statistic, in the denominator we compute the standard error (SE). In the video, it is assumed that the variances of both groups ARE NOT THE SAME, and hence finds the estimated SE -> sqrt(s1^2/n1 + s2ˆ2/n2)
    Sometimes, depending on the case or if it is given in the problem statement, one can assume that the variances of both control groups are the same. Then the formula changes and we need to find the POOLED SE.

  • @prithviprakash1110
    @prithviprakash1110 2 роки тому +11

    Yet another banger from the greatest tutor on the internet. Thank you so much.
    To those learning - I highly recommend you pause the video before he begins solving the question, and try and answer it yourself. Then, unpause, compare your methods with his, and correct yourself. You learn best that way.
    I'm so glad I found this channel and this awesome community. Makes me fall in love with learning all over again.

  • @nafeyhammoud5781
    @nafeyhammoud5781 2 роки тому +6

    dude!!! I've tried for hours to figure this out! I watched 7 minutes of your easy, calm and totally logical teaching method and got it!! thank you thank you.

  • @nitrofox1354
    @nitrofox1354 4 роки тому +36

    If only you posted this a day earlier, I just had a test over this😂😂

  • @danymathew7325
    @danymathew7325 6 місяців тому +1

    i can´t express how much it helps me. You are such a gift of god.

  • @mohammadaqib2019
    @mohammadaqib2019 4 роки тому +47

    Sir, you need to make a Q&A video I am sure so many people want to know you.

  • @oshinsalvador9721
    @oshinsalvador9721 3 роки тому +3

    I just wanted to say thank you. I just done doing my Performance task in math. This really helps me a lot! as in a lot! You are a hero for me to be honest. This video helps me to understand step by step, you are amazing! Thank you so much!

  • @namelessatiny1117
    @namelessatiny1117 Рік тому +5

    I'd rather watch videos from the organic chemistry tutor for HOURS more than reading ONE PAGE of my lecture book 😭 I swear.

  • @jamesnuss2911
    @jamesnuss2911 Рік тому +9

    Just a tip. When calculating dF you should round the result down and not up. So in this case 24 and not 25.

  • @evafidanabdullayeva2622
    @evafidanabdullayeva2622 2 роки тому +2

    better explanation than my prof. Thanks king

  • @wrjazziel
    @wrjazziel 3 роки тому +11

    Best professor ever, thank you!

  • @marshalljordan2416
    @marshalljordan2416 Рік тому +2

    I love your clear examples and computations. Great video!

  • @seaofpotions9877
    @seaofpotions9877 3 роки тому +4

    The formula used, in the first example: unequal variances, for df is correct, we use df=(n1+n2)-2 when we have equal variances ( or standard deviations).

  • @hellosydney3721
    @hellosydney3721 Рік тому +1

    Thanks. You saved my life for my analytical chem test tomorrow😭

  • @FAZ2024-v4f
    @FAZ2024-v4f 4 роки тому +42

    For the degrees of freedom isnt it better to use n1+n2 -2 = df

    • @MrGamingXD1
      @MrGamingXD1 3 роки тому +21

      You should only use df=n1+n2-2 formula if both samples have equal standard deviation. If not, you should use Satterthwaite Approximation (the formula he showed in the video) to find df.

    • @seadamohammed656
      @seadamohammed656 3 роки тому +4

      @@MrGamingXD1 in his example i used n1+n2-2 and got the same result

    • @sanchitakanta1018
      @sanchitakanta1018 3 роки тому

      @@MrGamingXD1 when he says we can use normal distribution if n is equal to or greater than 30, is he correct?
      We aren't supposed to use t distribution if we aren't aware of the population Standard deviation, right?
      Though some people say if sample size is equal to or greater than 30, z distribution approximates t distribution, it is absolutely wrong.( Reference - jbstatistics)

    • @shashanksinghal8395
      @shashanksinghal8395 3 роки тому

      @@sanchitakanta1018 When sample size incerase the t-distribution approximates z-distribution. You can see it from the graph of t-distribution with different degree of freedom.

    • @shashanksinghal8395
      @shashanksinghal8395 3 роки тому

      @Dominic Martin if you test if variance are equal or not using f-test (high variance/low variance) then you will find out that variance are equal. So we should use n1+n2-2 for df. What am i missing?

  • @user-1234gbhfavd
    @user-1234gbhfavd Рік тому +1

    Man does this bring back memories from organic chem

  • @user-kt2dz5gz1b
    @user-kt2dz5gz1b Рік тому +1

    thanks for the beautiful lecture. God bless you

  • @seanmulholland7225
    @seanmulholland7225 2 роки тому +1

    literally just saved 10% of my grade ty

  • @ShawnFX
    @ShawnFX Рік тому +2

    Thank you so much!! I needed a refresher on the df formula, I kept getting the wrong answers as I wasn't calculating each part properly. Finally done with an assignment in which we were told to come up with a research question, a hypothesis, analysis etc. Thanks to this video I just got done with that assignment!! Allahumdulillah :)

  • @bishaldas8813
    @bishaldas8813 3 роки тому +1

    Thank you sir....thanks from India

  • @annali9577
    @annali9577 3 роки тому +4

    really appreciate the effort you put into this video, it helps me a lot

  • @Zx-bd2nd
    @Zx-bd2nd Рік тому +1

    Soo good information, you make it so clear!! Only got one question, we did an example at class today where the teacher used another formula because she said that's what to use when the Sd is almost the same, in your example the Sd is almost equal but you used this formula, is it something im missing?

  • @vasivasi2522
    @vasivasi2522 Рік тому +1

    Another amazing video

  • @user-sd5dq8wb4j
    @user-sd5dq8wb4j 11 місяців тому +3

    To determine if there's a significant difference between the teachers' performance, a two-sample t-test is appropriate. With a 5% significance level, calculate the t-value using the means, standard deviations, and sample sizes of both classes. The formula for the two-sample t-test is t = (mean1 - mean2) / sqrt((s1²/n1) + (s2²/n2)). Plug in the values to get t ≈ -2.86. With degrees of freedom around 25, the critical t-value (two-tailed) is roughly ±2.064. Since -2.86 is beyond this range, there's evidence to reject the null hypothesis (that the teachers' performance is the same). In conclusion, at the 5% significance level, there's a significant difference in performance between the two teachers based on the exam scores of their respective classes.

    • @noraoomen6473
      @noraoomen6473 4 місяці тому

      how do you know the degrees of freedom are around 25?

  • @okami4076
    @okami4076 Рік тому +1

    Thanks for the video!

  • @janbroz5808
    @janbroz5808 2 роки тому +1

    God bless you organic tutor

  • @mohsinraza2589
    @mohsinraza2589 2 роки тому +1

    man this was so helpful, thank you so much! got such a nice clarification :)

  • @thepolonyguy
    @thepolonyguy 3 роки тому +1

    for question we can also use d.f.= n1 + n2 - 2 to find the degrees of freedom

  • @janbroz5808
    @janbroz5808 2 роки тому

    I consider you the best along khan Academy

  • @wilter126
    @wilter126 2 роки тому +1

    Thank you very much Dr

  • @louisbremers5862
    @louisbremers5862 4 роки тому +3

    Extremely helpful. Thanks!

  • @ahcai8578
    @ahcai8578 Рік тому +3

    Hi, as the population variance is unknown, should we use the pooled variance method instead? thank you.

  • @zhanibekbeisenov6359
    @zhanibekbeisenov6359 Рік тому

    Great video! Thank you so much.(we can easier find approximation of degrees of freedom as n1 + n2 - 2)

    • @ummidk4612
      @ummidk4612 Рік тому

      No, that approximation only works when both the population variances are equal, here we can not say that both are equal.

  • @dilmawijenayake
    @dilmawijenayake 7 місяців тому +1

    Thank you very much

  • @robloxkyle422
    @robloxkyle422 4 роки тому +20

    df could be (n1+n2)-2 :D
    df=(15+12)-2=27-2=25

    • @AshfaaqCurimbaccus
      @AshfaaqCurimbaccus 4 роки тому +1

      is this proven ?

    • @robloxkyle422
      @robloxkyle422 4 роки тому +6

      Ashfaaq Hussein Curimbaccus this is how our prof taught us! 😊

    • @AshfaaqCurimbaccus
      @AshfaaqCurimbaccus 4 роки тому

      Ah okay thanks !!!

    • @AshfaaqCurimbaccus
      @AshfaaqCurimbaccus 4 роки тому

      can somebody send me a t-distribution table on ashfaaq.curimbaccus4@umail.uom.ac.mu please ????

    • @trulykpop6008
      @trulykpop6008 4 роки тому +1

      gukkie’s ymkluvs same i was abt to say that too😂

  • @danishparray9482
    @danishparray9482 2 роки тому

    You are father of all Subjects. 😍😍😍

  • @Curtisivanp
    @Curtisivanp 2 роки тому +1

    Thanks for the video sir and I'm very thankful for it .. And as a ugandan i feel proud of this channel. But is it appropriate when i also use this formulae;( n1 + n2 - 2 )to get the degree of freedom?

  • @puritykwamboka3105
    @puritykwamboka3105 9 місяців тому +1

    I have a concern. In your case the calculated value was less than the standard value. You were supposed to FAIL TO REJECT the null hypothesis but instead you rejected it

    • @josesantacruz4841
      @josesantacruz4841 2 місяці тому

      isnt it because you are supossed to follow it in terms of the numbers in the number line: -3,-2.53,-2.0595, -2,-1, 0 ?

  • @Phoenixgasm
    @Phoenixgasm 4 роки тому +5

    Hello. I am curious what program this is that you are using.

  • @zengkailim1016
    @zengkailim1016 27 днів тому

    Before using the t-test, I think we should use the F test to determine whether it's considered as equal variance or unequal variance

  • @tegemeasylva717
    @tegemeasylva717 2 роки тому +2

    Thank you for a nice presentation but I need clarification on the degree of freedom, since it refers to the maximum number of logically independent values, which are values that have the freedom to vary, in the data sample I think it should not be approximated to the next value. I have seen some literatures stating that even if you get 24.9 you have to make it 24 but in your example it was 24.7 but approximated to 25. Is that right?

  • @marcelukeje3510
    @marcelukeje3510 9 місяців тому +1

    Please anyone who has an answer can reply.
    How did you conclude that the new factory was better since we only know the means are not equal and we don't know which of them is greater?

  • @HectixShorts
    @HectixShorts 3 роки тому +1

    Why wee need to use a huge mathermatical formula. Degrees of freedom for a t-test is n1+n2-2 because we have two samples having n1 and n2 sizes. Am I right?

  • @vivekuniyal3632
    @vivekuniyal3632 4 роки тому +4

    Mate, you explain very well, keep going. 🤘

  • @bakoziel6909
    @bakoziel6909 Рік тому +1

    the only thing I'm missing from these videos, are ways you read z./t table and when certain methods of calucalating AL should be used. When I was working through proportion calculations, i didn't understand why sometimes you read the table, why sometimes you extract value from one... Took some further research, but now it's so much easier to follow what you're doing with these values. Could be usefull :)

    • @ghostkidgamerez3917
      @ghostkidgamerez3917 9 місяців тому

      quick question, for number 1 for example, why does he assume that its a two tail test? He doesnt explain it and proceeds with alpha over 2. If it was one tailed he wouldve just left it as alpha

    • @yogeetasawant5602
      @yogeetasawant5602 8 місяців тому

      @@ghostkidgamerez3917 For a two tailed test, the null hypothesis is mean (μ) = (some number), whereas for a one tailed test, the null hypothesis is mean (μ) , ≤, ≥ (some number). This way, the shaded area, lies on both the sides of the normal distribution curve in a two tailed test, but lies either on the right or left in a one tailed test, depending on the critical value obtained, using the given level of confidence or significance.

  • @wirojtamboonlertchai467
    @wirojtamboonlertchai467 3 роки тому +2

    7:24
    df = 24.7 which is approximately equal to 25.
    What if degree of freedom is a decimal number such as 24.25 it must be 25 or 24 (round up or round down ?)
    it must be 24 right ? round to the nearest number.
    If df = 24.5
    it must be 25 right sir ?

    • @BrokenSofa
      @BrokenSofa 3 роки тому

      Yes, that's how rounding off numbers works

  • @mohammedboumhaoui8301
    @mohammedboumhaoui8301 3 роки тому +1

    good job and go on

  • @lakminijayalath1904
    @lakminijayalath1904 3 роки тому +1

    thank u. its more helpfull.

  • @patriciaboweelaka4482
    @patriciaboweelaka4482 3 роки тому

    God bless you abundantly

  • @jaylee842
    @jaylee842 4 роки тому +1

    Thank you so much, sir.

  • @landofmyth221
    @landofmyth221 2 роки тому

    saved my day

  • @lorenzoandrade6642
    @lorenzoandrade6642 11 місяців тому

    thank you. love you pal

  • @cartilo2619
    @cartilo2619 7 місяців тому

    actually the GOAT

  • @reamabdulsalam524
    @reamabdulsalam524 Рік тому

    Please do explain how we can determine the Z critical point when we have left side hypotheses test as no one has explained this yet and I don’t know how to calculate it as our Z value table is right test only

  • @natyfbg
    @natyfbg 2 роки тому

    For degree of freedom you can use, (n1 + n2 - 2)

  • @veerakanneboina8086
    @veerakanneboina8086 4 місяці тому

    For a two samples t test if it is not given whether the population variances are not equal or not. Then which formula do I have to use to find degrees of freedom

  • @etamakharani9510
    @etamakharani9510 8 місяців тому

    Pengujian hipotesis tentang
    selisih
    rata
    -rata
    dua
    populasi

    independen , 𝜎12 = 𝜎12 (Ragam
    populasi
    ke
    -1 sama
    dgn ragam
    populasi ke-2) tetapi
    nilainya
    diketahui

  • @lumpi806
    @lumpi806 4 роки тому

    thank you for this video, but the least you can do is to explain WHY you use the welch method for the first part of the video.

  • @jordantalon3695
    @jordantalon3695 4 місяці тому

    I don’t understand, how did u get the rejection region of 0.5 for number 2 problem?

  • @benysmart1643
    @benysmart1643 Рік тому

    Thank you

  • @janatafran2290
    @janatafran2290 3 роки тому

    Bro thank you!!!!!!! 😭😭😭

  • @AminSobeih
    @AminSobeih Рік тому

    in the DF
    u can use n1+n2-2

  • @yeasminsultana6851
    @yeasminsultana6851 Рік тому

    You have made the process tougher. I couldn't understand df formula

  • @yanithepiplup1104
    @yanithepiplup1104 Рік тому

    also, you can find df of 2 sample sizes by just subtracting them by 2. regardless, great video though :)

  • @firassami7399
    @firassami7399 3 роки тому +1

    Thank you sir for your explanations.
    I just confused when I have two samples and every one consists of 27 experiments. However when I Calculated the degrees of freedom I found it is 59 . I couldn't find a value of t_critical in table corresponded to 59 degrees on freedom. Can you help me ?

    • @christinamerdan6986
      @christinamerdan6986 3 роки тому +2

      for the second example, you use the z-distribution, not the t-distribution, since the sample sizes are greater than 30

  • @allieuchristophermoiwa622
    @allieuchristophermoiwa622 6 місяців тому

    But I thought alpha value of O.O5, Not O.O25 should be used to calculate critical t value?

  • @jalalkhalil1582
    @jalalkhalil1582 3 місяці тому

    How we know use pooled variance from unpooled from question?

  • @camauhel-joe7539
    @camauhel-joe7539 8 місяців тому

    Thanks for your videos. Kindly use white background since the blue is not visible with a black background 😢

  • @user-hb2rg2pw9w
    @user-hb2rg2pw9w 11 місяців тому

    What if one sample have 200 observations, and second sample have 20 ? Will we use normal distribution or t-distribution ?

  • @kingsleyibhasuemonjie1359
    @kingsleyibhasuemonjie1359 3 роки тому

    In the first example, why was degree of freedom had to be calculated using a special formula, what not n-1, also 15 -1 =14

  • @toonzelda3353
    @toonzelda3353 2 роки тому

    I don't get it my question just feels different. Mine is telling me to assume the data is normally distributed. I just don't understand how to do a difference of two means with normal distribution. My teacher only ever covered examples with t distribution?.. But when it came to an assignment I am stuck. Both my random samples are less than 30 however the question is telling me to assume that its normally distributed. I just don't get what I am supposed to do at that point.

  • @aparadisebird
    @aparadisebird 7 місяців тому

    the equation for calculating df is very complex. cant we use df=n1+n2-2 in this context?

  • @samueldarenskiy6893
    @samueldarenskiy6893 Рік тому

    How could we use a z test in the second example if we don't have the population standard deviation?

  • @sachinbhawnani2481
    @sachinbhawnani2481 Рік тому

    sir please make a video on annova

  • @azhua123
    @azhua123 8 місяців тому

    How come we're not using Central Limit Theorem for Q2 where n1 and n2 >= 30

  • @bakaiser0111
    @bakaiser0111 2 роки тому

    why is the formula for the degree of freedom so big? i thought it was n-1, or is that the df for a different sample?

  • @idraw7415
    @idraw7415 2 місяці тому

    what is standard deviation and how do i get it?

  • @rheysarmiento
    @rheysarmiento 2 роки тому

    Hi, why can't I just use the formula for t = (mean1-mean2/(sqrt((s1 squared/n1)+ (s2 squared/n2)? Thanks.

  • @krishnamvats2238
    @krishnamvats2238 Рік тому

    why did we took degree of freedom in example one, and not in example 2 ?

  • @EylulIsk
    @EylulIsk 3 роки тому

    Am I the only one who hears kittens meowing around 16:55? :D

    • @rsadsultanov3071
      @rsadsultanov3071 3 роки тому +1

      You are surely only one not focused on lesson very well

  • @Boli010
    @Boli010 Рік тому

    thank you :)

  • @meta-tex5196
    @meta-tex5196 2 роки тому

    This maybe stupid since i dont know much, but what to do when one sample size is less than 30 and the other sample size is 30 or more?

  • @taherscholar5862
    @taherscholar5862 27 днів тому

    The degrees of freedom should rounded down to the nearest integer. It should be 24 not 25

  • @Andre-sz1ps
    @Andre-sz1ps 2 роки тому

    why is class1 - class 2 and the the opposite?
    How do I choose which one is "class 1"

  • @JMONEY7.
    @JMONEY7. 8 місяців тому

    for df could you just add 15 + 12 the subtract 2

  • @zahraamobder4936
    @zahraamobder4936 Рік тому

    to figure out the df you could have done df=n-2 which is 27-2=25 simple

  • @fengtaka
    @fengtaka Рік тому

    Why was the left tail rejection region added to the acceptance region when calculating the critical value
    Please anyone?

  • @la_vida_kylian
    @la_vida_kylian Рік тому

    Enjoying Statistics 2

  • @hengolzman282
    @hengolzman282 3 роки тому

    The best!!!!

  • @dinarabalykbaeva7307
    @dinarabalykbaeva7307 Рік тому

    he tSTAT test statistic follows a t distribution with n1 + n2 - 2 degrees of freedom

  • @yomnagaafar5745
    @yomnagaafar5745 3 роки тому +2

    DF = N1-1 +N2-1 is a much easier formula

  • @jom8827
    @jom8827 Рік тому

    How can I decide which significance level I used?

  • @dedelefoudu88
    @dedelefoudu88 3 роки тому

    why not taking the pondarate value for x1 & x2: ((x1*n1-x2*n2)/(n1+n2)-(u1-u2))/sqrt(....)

  • @nabeeladam3045
    @nabeeladam3045 Рік тому

    Is the difference between two means the same as saying 2 populations ?

  • @DaughterOfGodJG
    @DaughterOfGodJG 2 роки тому

    what distribution is it if n1 < 30 and n2 > 30

  • @simlindiledlamini_
    @simlindiledlamini_ Рік тому

    someone please buy this man a car!