One Tailed And Two Tailed Hypothesis Tests - P Value Hypothesis Testing Explained

In this video we discuss one tailed, two tailed hypothesis tests and we also cover p values for hypothesis testing. We discuss when to use one and two tailed tests, and the decision rule for p values.
Transcript/notes (partial)
In hypothesis testing, after stating the null and alternative hypotheses and choosing a level of significance, next you would obtain a random sample from the population and calculate a sample statistic, which is called the test statistic, such as the mean, x bar, the variance, s squared, or the proportion, p hat, in relation to the parameter in the null hypothesis, such as mew, sigma squared, or p.
This sample statistic, or test statistic is then converted to a standardized test statistic, such as z, t, or chi square. And the standardized test statistic is then used to make the decision about the null hypothesis.
In determining if we should reject the null hypothesis, one of the methods is to look at the probability of getting a standardized test statistic that is less than the level of significance, and this is where a P-value comes in.
A p-value or probability value of a hypothesis test is the probability of getting a test statistic, such as x bar, s squared or p hat, from a sample, that’s value is as extreme or more extreme than the one determined from the sample data you are using. Lets look at a visual of this.
So, lets say this box represents a population. And you pull a random sample from this population, and from your sample, you calculate the mean, or the variance or a proportion. In this box, or population, there are an infinitesimal number of random samples that can be pulled. The p value is the probability of getting a sample from this population, that has an extreme, or more extreme value that the one you got from your sample, and this value can be the mean, the variance or a proportion.
The p value depends on the test, and there are 3 hypothesis tests, a left tailed test, a right tailed test, and a 2 tailed test.
For a left tailed test, h sub a, the alternative hypothesis contains the less than inequality, so we could have for h sub 0, mew greater than or = to k, where k represents a claim value, and h sub a would be mew less than k. On a graph this looks like this, where the red line represents the standardized test statistic, and the area to the left of the line is the p value.
A right tailed test is basically the opposite of a left tailed test, where the alternative hypothesis contains the greater than inequality. For instance, for h sub 0 mew is less than or equal to k, and h sub a is mew greater than k. The graph looks like this, again the red line represents the standardized test statistic, and the area to the right of the line is the p value.
And for a two tailed test, the alternative hypothesis contains the does not = sign. For instance, for h sub 0 mew is equal to k, and h sub a is mew does not = k. The graph looks like this, the red lines represent the standardized test statistics, and the area outside of the lines is the p value. In this case, each of these areas outside of the lines would be = to one half of the p value.
It is important to remember, if the alternative hypothesis has less than inequality, it’s a left tailed test, if it has a greater than inequality, it’s a right tailed test, and if it has a does not equal sign, it’s a 2 tailed test. And you can also look at the inequalities as arrowheads, pointing to the direction of the test needed.
For each of these, we are going to write the claim out mathematically, then write out the null and alternative hypotheses, then determine the appropriate test to use.
Example 1. A recent report stated that less than 29% of people exercise twice a week. So, the claim is that the proportion, p, is less than 0.29. We know that the alternative hypothesis contains the inequality, so, h sub a is p less than 0.29, and the complement of that is p is greater than or equal to 0.29, and that is our null hypothesis, with the equality in the statement.
Since we have a less than inequality in the alternative hypothesis, this will require a left tailed test.
Lets say that research firm released data that stated that people check their phones more than 14 times an hour. So, the claim is that mew, the population mean is greater than 14. We know that the alternative hypothesis contains the inequality, so, h sub a is mew greater than 14, and the complement of that is mew is less than or equal to 0.29, and that is our null hypothesis, with the equality in the statement.
Since we have a greater than inequality in the alternative hypothesis, this will require a right tailed test.
Timestamps
0:00 What Is A Sample Test Statistic?
0:40 What Is A P Value?
1:36 What Is A Left, Right Or 2 Tailed Hypothesis Test?
3:16 Example Problem Of Which Test To Perform
4:34 What Is The Decision Rule For A P Value?

Пікірлер: 21

  • @v-hv8gh
    @v-hv8gh7 ай бұрын

    This has been the best explanation I've ever found on youtube! So simple and succinct. Thank you so much!

  • @olgaguzman6366
    @olgaguzman63663 жыл бұрын

    Thank you sooooo much for this!! I was having a REAL hard time trying to figure out if it was one tailed or two tailed! This is makes it VERY understanding for me! Thanks again!

  • @whatsupdude2778

    @whatsupdude2778

    3 жыл бұрын

    Awesome to hear the video helped you out Olga Guzman, thanks for sharing that.

  • @marcellastinnett5964
    @marcellastinnett5964 Жыл бұрын

    The BEST simple explanation ever!! Thank you!!

  • @justhitthedab301
    @justhitthedab3014 жыл бұрын

    man, I love your videos so much, keep up the great work

  • @whatsupdude2778

    @whatsupdude2778

    4 жыл бұрын

    Thanks for the good vibes JustHitTheDab, more videos on the way my friend.

  • @FlyingFoka
    @FlyingFoka2 жыл бұрын

    So well explained, thank you very much!

  • @harvinderverma4451
    @harvinderverma44514 жыл бұрын

    I have seen more than 5 such videos to understand it but u are the best man ..Big Salute to u .. i do not know what u do but u deserve much more .. Thanks ..& keep it up ..

  • @whatsupdude2778

    @whatsupdude2778

    4 жыл бұрын

    Awesome, thanks for letting me know that Harvinder Verma, it means a lot.

  • @eling8577
    @eling85778 ай бұрын

    Thank you for a good explanation, I finally understand this!

  • @Riza2suns
    @Riza2suns2 жыл бұрын

    Thanks Dude!!! this helps!!!!

  • @ShilohOkechukwu
    @ShilohOkechukwu Жыл бұрын

    Thanks!

  • @romanvasiura6705
    @romanvasiura6705 Жыл бұрын

    Thank you!

  • @ranaelnady4128
    @ranaelnady41282 жыл бұрын

    thank u so much really

  • @ethancrockettuc2192
    @ethancrockettuc21922 жыл бұрын

    I take STAT101 at the University of Canterbury and I have to say you explain this very well, I use your channel over my lecture notes haha

  • @whatsupdude2778

    @whatsupdude2778

    2 жыл бұрын

    Hello Ethan Crockett UC, great to hear the videos are helping you out!

  • @howardchinchin3589
    @howardchinchin35893 жыл бұрын

    Why are the all videos out there didn't include a right-tailed test example?

  • @howardchinchin3589

    @howardchinchin3589

    3 жыл бұрын

    you liked left-tailed test so much huh?

  • @fi-9435
    @fi-94352 жыл бұрын

    thank you for this!!! my lecturer sucks

  • @Love-et1zt
    @Love-et1zt2 жыл бұрын

    Wow 😯

  • @annimeeme
    @annimeeme2 жыл бұрын

    Are sure there is no mistake in example 2

Келесі