One-Sided Test or Two-Sided Test?

Поділитися
Вставка
  • Опубліковано 4 січ 2025

КОМЕНТАРІ • 90

  • @kolinnhtooaung2408
    @kolinnhtooaung2408 6 років тому +10

    After watching this lecture, I got a clear vision for one sided and two sided hypothesis. Thanks you so much!

  • @mirandail4506
    @mirandail4506 11 років тому +7

    Thanks so kindly for explaining this concept. This is a great video. I recommend it for anyone who needs to understand one and two-sided test. I will share it with my classmates.

    • @jbstatistics
      @jbstatistics  11 років тому

      You are very welcome Miran. Thanks for the compliment, and I'm glad you found this video helpful!

  • @hernandezemardo5198
    @hernandezemardo5198 6 років тому +1

    You make the world a better place with your teaching. Thank you.

  • @jbstatistics
    @jbstatistics  12 років тому +3

    You're welcome! I'm glad you found it helpful.

  • @zeina6256
    @zeina6256 11 років тому +10

    Thank you, this is so helpful! I don't understand why profs have to complicate concepts so much

    • @jbstatistics
      @jbstatistics  11 років тому +4

      You're welcome. Sometimes it may sound like a prof is needlessly complicating the issue, when in reality they are explaining the concept very well. Especially in statistics, words need to be chosen very carefully. I've seen a number of comments on UA-cam along the lines of "why didn't my prof explain it like that", when the video explanation they were complimenting was simply wrong. That said, thanks very much for the compliment, and I do try very hard to give clear, concise, and correct explanations. Cheers.

    • @tomisinjenrola6430
      @tomisinjenrola6430 9 років тому

      jbstatistics Hey sir, did the company say the content is exactly equal to 2 grams or less than or equal to 2 grams? "contains no more than 2 grams"

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

      @@jbstatistics Sometimes the professors are just shit

  • @sgtcojonez
    @sgtcojonez 8 років тому +2

    I just wanted to thank you for making this series of videos.

    • @jbstatistics
      @jbstatistics  8 років тому +2

      +sgtcojonez You are very welcome!

  • @jbstatistics
    @jbstatistics  11 років тому +6

    I think the order I've given in the playlists is a pretty good order. Cheers.

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

    At 06:11, you mention "If we choose the alternative hypothesis bases on the direction observed in the sample, then the reported p-value will be half of what it should be".
    Are you saying this is a one-sided choice? Or the two-sided choice?
    For me it's a two-sided choice otherwise I don't see how p-value can be halved. But, I am only making a deduction and not an understanding.
    That said I don't see the relationship with the influence that it has with the biased side of choosing the hypothesis based on the sample.

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

      I'm saying that if you do that, you'll always be reporting a p-value *as if* it were a one-sided test, when in reality you're carrying out a two-sided test. Before looking at the data, the difference might lie in either direction. After looking at the data, the difference will lie in one of those two directions.

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

      I completely understand the second part of what you are saying, starting with "Before looking ..."
      But the first is more difficult. It is up to us to choose which test to do, even if we make a mistake in this choice, we know what choice we are making. For example, I choose a one-sided test even though I should choose a two-sided. But I know it.
      Yet you say "when in reality you're carrying out a two-sided test" as if we didn't know.

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

      @@udriss1 If a person uses the data to choose the alternative hypothesis, then they are violating the conditions necessary for a one-sided test and as such they are not actually carrying out a one-sided test. It might look like a one-sided test, but it's not a one-sided test. Their reported results will not be correct.
      If I run the first and last miles of the Boston Marathon, and take an Uber for the remaining 24+ miles, I did not complete the Boston Marathon. I can post my supposed finishing time wherever I would like, and falsely say that I completed the Boston Marathon, but that does not mean I completed the Boston Marathon. I can try smirking and saying "I completed the Boston Marathon" knowing that I violated the rules and using my own cute definition of "finish", but no, I did not in fact complete the Boston Marathon.

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

      ​@@jbstatistics The example is relevant to me. Thanks for your answer 🙏
      You clearly explain the biased and even unscientific nature of establishing a hypothesis based on the data, whereas in the scientific method, the hypothesis always comes upstream of the study.
      That said, my questioning is more focused on the calculative character than the philosophy or the concept behind the hypotheses.
      Why is the p-value halved? Let's say I look at the data and base my hypothesis on that. I then choose a one-sided approach. Let's also say that I choose an average greater than the average u0: uA > u0. I calculate the p-value (for the null hypothesis to be false in favor of the alternative hypothesis) which is the area to the right of the z (or t) quantile. In this process, I don't see how it can be half of what it should be.
      "What it should be" is what exactly? A one-sided test?

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

      I think I just found an example that explain what you said : "If we choose the alternative hypothesis bases on the direction observed in the sample, then the reported p-value will be half of what it should be".
      Indeed, Google cylismo , and search calculation of power.
      At the 11.1, "Calculating The Power Using a Normal Distribution". It seems that he juste maid a mistake. The author should take a one-sided test. Right ? The power must b here 0.9562975 and not 0.918362.

  • @llyukll
    @llyukll 6 років тому +1

    A good rule of thumb to use is if the result happens to be in the opposite direction to that which you expect will your conclusions be the same as if there is no difference? If the answer is no, you shouldn’t be using a one-tailed test.
    For example say we were looking at the effects of some training (predicting that training improves performance). If the results came back that post-training scores were lower than pre-training (say p = .02) would our conclusion be that training makes no difference? Probably not, we would most likely conclude that training is actually detrimental to performance. However, a one-tailed test would not let us reach that conclusion.

  • @gbolabodba
    @gbolabodba 5 років тому +1

    You my friend are a genius !
    I couldn’t make out the difference until now, thanks a lot !

  • @gopih5880
    @gopih5880 6 років тому +2

    Thank you sir... it's very easy for better understanding and I had lot of confusions but now all cleared after watching your video... thank you sir again

  • @sandeshratnayake9954
    @sandeshratnayake9954 7 років тому +4

    thankyou thankyou thankyou thankyou verrrryyyyyy muchhhhhh
    i was soooo confused tilli saw yourrrrrr videooooooo........
    realllllyyyyy appreciate your help

  • @DvdAficionado
    @DvdAficionado 8 років тому +1

    Your explanation is very clear. Very good job!

  • @nicekiss1000
    @nicekiss1000 6 років тому +20

    i was in and all focused until i lost it at 4:41

    • @jbstatistics
      @jbstatistics  6 років тому +5

      There's no shame in that -- it's a bit of an abstract notion!

    • @vman049
      @vman049 6 років тому +1

      Here are some examples in medicine of drugs used to increase blood pressure: www.webmd.com/heart/qa/what-medications-are-used-to-treat-low-blood-pressure

  • @horusleung123
    @horusleung123 5 років тому +1

    I want to ask why you can set the H0 as x=2 and H1 as x>2? Isn't Alternative and Null should be collectively exhausted?
    Wouldn't it be more informative if we set H0 as x

  • @kolinnhtooaung2408
    @kolinnhtooaung2408 6 років тому +2

    Thank you so much! I love your lecture. Cuz u could simply explain about 1 tailed and 2 tailed test.

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

    I'm confused in what you said in the last part. You report the p-value and let the knowledgeable person decide right? Isn't this the same as looking at the data first before before making the hypothesis which you said is a bad practice?
    By the way, thanks to your videos. I learn a lot here!

  • @robotdrz
    @robotdrz 8 років тому

    One thing I still do not understand about t-tests: How can a t-test show me if something is truly greater than something else? I know that doing a one sided t-test is somewhat risky in that it cannot detect the possibility that the change is in the opposite direction from what you are testing. Therefore, we use a 2 sided test to see if there is actually a difference, but the two sided test doesn't tell us direction.... so how do we safely test a specific direction of change if we cannot make any safe assumptions about the opposite direction?

  • @calloutmccallout3623
    @calloutmccallout3623 6 років тому +7

    Shouldnt the null hypotheses be
    Ho: mu =< 2?

    • @jbstatistics
      @jbstatistics  5 років тому +9

      There are two approaches to writing the null hypothesis when the alternative is one-sided. Your method (e.g. Ho: mu =< 2) is reasonable, and is used by many sources. I prefer to always have the null being an equality (and this is reasonable and used by many sources as well). There are pros and cons to each approach. I like to use the equality, as I often speak of the distribution of the test statistic *when the null hypothesis is true*, and the p-value is calculated under the assumption the null is true. When the null is an equality, then this has concrete meaning. When it's an inequality, it's not as simple. But your way is a little better at getting to the heart of what we are actually testing. So, like I said, there are pros and cons for each approach.

  • @12343469
    @12343469 5 років тому

    Are there cases where researchers, for example, in the blood pressure results, use both tests to infer how probable it is to 'change the blood pressure' based on a two-sided test, and then infer how probable it is to 'lower blood pressure' based on a one-sided test? can't we use the data and plug it into the two tests?
    Thanks for your effort prof

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

    Thank you very much for this lecture. It most certainly help.

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

    Is ' survival rate ' a valid parameter to base hypothesis on?

  • @melvinfernandes4352
    @melvinfernandes4352 6 років тому

    at 3:57 where did you get the -1.97 and the 1.97

    • @jbstatistics
      @jbstatistics  6 років тому +1

      It's from the standard normal distribution, and can be found using software or a standard normal table.

  • @josuedavalos3996
    @josuedavalos3996 8 років тому +2

    your videos were really helpful, you really know how to teach!
    thank you :)

    • @jbstatistics
      @jbstatistics  8 років тому

      +Josue Davalos Thanks Josue! I'm glad I could help!

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

      I'm a Science teacher and totally agree. Thanks for these videos !! It's very precise and complete.

  • @jacoboribilik3253
    @jacoboribilik3253 5 років тому

    This is the point at which Statistics as a scientific discipline distances itself from mathematics and objective facts and "common sense" comes into play. I and a professor had a bit of a debate over this, I used a one sided test whereas he suggested a two sided one, I dont believe anyone was mistaken, we just thought of different ways of testing H0. Statistics is truly a beautiful science but also very subjective.

    • @jbstatistics
      @jbstatistics  5 років тому

      There are plenty of grey areas in statistics where knowledgable and fair-minded people can disagree about the best approach. I have disagreements with (respected) colleagues sometimes, even in some fairly straightforward statistical situations, and sometimes those disagreements involve the choice between a one-sided and two-sided test. I'm guessing I would have been on your professor's side, but you never know :)

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

    8:25 because the null hypothesis does not have to be a difference of 0

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

      A similar argument applies to any other value. When is the difference between two parameters going to be exactly equal to the hypothesized value?

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

      @@jbstatistics To my knowledge, we can use minimal-effects, equivalence or inferiority tests where H0 is not defined as a point value but rather as a range. In these cases, we don't know the null hypothesis is false when going in. Do you agree?

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

      @@maximedelmas That's a whole different ball game, and different from the standard hypothesis testing that is discussed in this video. This isn't a video on those topics. If you want to talk about something different from what I'm discussing here, then sure, my statements don't necessarily to apply to those scenarios.

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

    One question! Is Two-sided test same with Two-tailed test or are they diff from each other? I am quite in a confusion right now

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

    Simple and helpful. Thanks a lot. Wonder why the no. of views is

  • @virtuousjoffrey8022
    @virtuousjoffrey8022 10 років тому

    Could you upload a video on calculating the Probabilities and when to reject and accept a null hypothesis ?

    • @jbstatistics
      @jbstatistics  10 років тому

      Hi Dinuka. I have many videos discussing the basics of hypothesis testing, including discussions of when we would reject the null hypothesis. I don't know what probabilities you are referring to.

    • @virtuousjoffrey8022
      @virtuousjoffrey8022 10 років тому

      jbstatistics um I'm not sure if you're familiar with the edexcel s2 portion but in that their entire section of hypthesis testing revolves around probabilities

    • @jbstatistics
      @jbstatistics  10 років тому

      Dinuka Malith I don't know anything about edexcel S2. I haven't adapted my materials towards any publisher resources or anything along those lines. I base these videos on my own materials, and my own approach to teaching statistics.
      I have many videos outlining how to find p-values for various hypothesis tests. e.g. Using the t Table to Find the P-value in One-Sample t Tests (7:11) (ua-cam.com/video/tI6mdx3s0zk/v-deo.html), or Z Tests for One Mean: The p-value (10:02) (ua-cam.com/video/m6sGjWz2CPg/v-deo.html). These are contained in the playlists related to the specific inference procedure.
      These videos are designed to help teach my students statistics, and so I don't have any videos like, "How to ace the stats portion of XXXXX!" They are designed to help in the teaching of an introductory statistics course. Cheers.

    • @virtuousjoffrey8022
      @virtuousjoffrey8022 10 років тому

      Hey JB , just some advice needed
      Im looking forward to majoring in statistics and business maths probably , is USA a good place and hows the job market and income?

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

    I love this channel ❤️ 'cause i get everything i want

  • @rishabhchopra6418
    @rishabhchopra6418 7 років тому

    Hi JBstatistics!
    I'm sorry I don't not quite understand.
    What is wrong in changing our alternative hypothesis if our observed sample data is in the other direction?
    If our alternative hypothesis is Ha = µ =/= 0 , and we observe a z value far on the right tail.. Let's say +3.
    Then what is wrong in changing our alternative hypothesis from µ =/= 0 to µ > 0 and using a one sided approach?
    Once again, thanks for you videos! :)

    • @RSG11111
      @RSG11111 6 років тому

      Nothing. The author commits a common error with regards to one-sided vs. two-sided hypotheses. More on that here: blog.analytics-toolkit.com/2017/one-tailed-two-tailed-tests-significance-ab-testing/

  • @chero9499
    @chero9499 8 років тому +1

    Thank you thank you thank you! You made it sooooo understandable.

  • @extremeheat9283
    @extremeheat9283 10 років тому +5

    God Bless You sir!!!

  • @EdGein_
    @EdGein_ 7 років тому +1

    Thank you so much! Made perfect sense to me

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

    I thought this video was going to be about swords, but it was not.

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

    why pay school when we can learn it so easily?I mean your 2 videos made everything clear ,now i dont even need to watch all the videos,after understanding the main ideas,everything written in book makes a 99% sense(as per stats there is no 100%)

  • @Osire
    @Osire 9 років тому

    Very well put.

  • @KillerKikyo5
    @KillerKikyo5 10 років тому +1

    Wow thank you for this video! Hours of class and other videos that make no sense at all but this helped a lot

    • @jbstatistics
      @jbstatistics  10 років тому

      You are very welcome! I'm glad you found this video helpful. Cheers.

  • @iammelanie7105
    @iammelanie7105 10 років тому +2

    this is really helpful..thank u

  • @kushdaeli
    @kushdaeli 12 років тому

    Thank you so much very easy to understand

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

    Thank you so much.

  • @NikkiThapa
    @NikkiThapa 10 років тому +2

    Thank you.. :)

  • @timpsont7998
    @timpsont7998 11 років тому +1

    Much better then my dumb professor!

  • @vaibhav8941
    @vaibhav8941 7 років тому

    it doesn't make sense to me because ultimately its us, who will choose the value for alpha.

    • @jbstatistics
      @jbstatistics  7 років тому

      Regardless of the alpha value that you choose for your test, the concepts discussed in this video apply.

    • @vaibhav8941
      @vaibhav8941 7 років тому +1

      jbstatistics my limited point is when we choose alpha for a 2-sided test, we know that alpha is going to be divided by 2 on either side. So we choose alpha accordingly (so maybe it would make us choose a greater alpha value than what we would have Choosen in case of a 1-sided test).
      So we should not be comparing alphas of 1-sided and 2-sided tests.

  • @AbdullahPunctureWale-BePgCxx
    @AbdullahPunctureWale-BePgCxx 5 років тому

    Thank You...

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

    No. two-sided test has no sense in most cases. Let the probability for A < B is 30%, then the probability for A > B is 70%, and the probability for A = B should be 0%.

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

      I don't know what you're trying to say. I'm hardly the only one who thinks most situations call for a two-sided test. If you're trying to say that in two-sided tests, the null hypothesis is almost always false, then sure, but that doesn't imply that a two-sided test should not be used.

  • @hqtang1270
    @hqtang1270 8 років тому

    TQVM

  • @scarlettejoyce2387
    @scarlettejoyce2387 6 років тому

    i dont understand anything at all 😢😭😟😣

  • @Sangang2716
    @Sangang2716 8 років тому

    just saved my ass thanks

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

    aboooooooooooot