One-Sided Test or Two-Sided Test?

Поделиться
HTML-код
  • Опубликовано: 22 окт 2024

Комментарии • 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 10 лет назад +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  10 лет назад

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

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

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

  • @zeina6256
    @zeina6256 11 лет назад +9

    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 RUclips 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

  • @jbstatistics
    @jbstatistics  11 лет назад +3

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

  • @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.

  • @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!

  • @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

  • @jbstatistics
    @jbstatistics  11 лет назад +6

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

  • @DvdAficionado
    @DvdAficionado 8 лет назад +1

    Your explanation is very clear. Very good job!

  • @kolinnhtooaung2408
    @kolinnhtooaung2408 6 лет назад +2

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

  • @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

  • @sandeshratnayake9954
    @sandeshratnayake9954 7 лет назад +3

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

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

    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!

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

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

  • @calloutmccallout3623
    @calloutmccallout3623 5 лет назад +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.

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

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

  • @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 5 лет назад +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

  • @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.

  • @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.

  • @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

  • @robotdrz
    @robotdrz 7 лет назад

    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?

  • @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!!!

  • @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 :)

  • @Osire
    @Osire 9 лет назад

    Very well put.

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

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

  • @EdGein_
    @EdGein_ 7 лет назад +1

    Thank you so much! Made perfect sense to me

  • @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

  • @iammelanie7105
    @iammelanie7105 10 лет назад +2

    this is really helpful..thank u

  • @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) (ruclips.net/video/tI6mdx3s0zk/видео.html), or Z Tests for One Mean: The p-value (10:02) (ruclips.net/video/m6sGjWz2CPg/видео.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?

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

    Thank you so much.

  • @kushdaeli
    @kushdaeli 11 лет назад

    Thank you so much very easy to understand

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

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

  • @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%)

  • @NikkiThapa
    @NikkiThapa 10 лет назад +2

    Thank you.. :)

  • @melvinfernandes4352
    @melvinfernandes4352 5 лет назад

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

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

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

  • @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.

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

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

  • @timpsont7998
    @timpsont7998 11 лет назад +1

    Much better then my dumb professor!

  • @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.

  • @AbdullahPunctureWale-BePgCxx
    @AbdullahPunctureWale-BePgCxx 5 лет назад

    Thank You...

  • @hqtang1270
    @hqtang1270 8 лет назад

    TQVM

  • @Sangang2716
    @Sangang2716 8 лет назад

    just saved my ass thanks

  • @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.

  • @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.

  • @scarlettejoyce2387
    @scarlettejoyce2387 6 лет назад

    i dont understand anything at all 😢😭😟😣

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

    aboooooooooooot