In: Statistics and Probability
how do I find the p-value? please break it down barney style
for 1-sample z-test
Find the probability that Z is beyond (more extreme than) your test statistic:
If Ha contains a less-than alternative, find the probability that Z is less than your test statistic (that is, look up your test statistic on the Z-table and find its corresponding probability). This is the p-value. (Note: In this case, your test statistic is usually negative.)
If Ha contains a greater-than alternative, find the probability that Z is greater than your test statistic (look up your test statistic on the Z-table, find its corresponding probability, and subtract it from one). The result is your p-value. (Note: In this case, your test statistic is usually positive.)
If Ha contains a not-equal-to alternative, find the probability that Z is beyond your test statistic and double it
= P(Z > |TS|)
similarly p-value can be calculated for any hypothesis testing like t-test , f-test,chi-square test
You find test statistic and depending on the alternate hypothesis
you calculate p-value