P-values
The p-value is the smallest significance level at which a test would have led to a critical region, given the observed statistic,
-
testing the level of "extremicity", not just the values itself
-
, p-value = (extremities in all directions) -
a measure of the strength of the evidence against the null hypothesis
- probability of getting a test statistic at least as extreme as the one observed
- assuming the null hypothesis is true
- probablity of getting the observed value of the test statistic, or a value with at least as much evidence against the null hypothesis
- assuming the null hypothesis is true
- chances of seeing what we saw if null is true
- the smaller the p-value, the greater the evidence against the null
- if null is true, then the % of the p-value is the chance we have to find what we did
- p-value very small = we'd have to be extremely (un)lucky to get the test we're using as evidence
- if null is true, then the % of the p-value is the chance we have to find what we did
- if we are carrying out a test at the
level of significance, we can reject if p-value - hypothesis dont have confidence levels
- probability of getting a test statistic at least as extreme as the one observed
interpreting p-values
- the smaller the p-value, the stronger the evidence against
- if we are carrying out the test at a fixed level of
, the evidence against is statistically significant if p-value - if we get a big p-value, we still cannot state that the
is true - distribution of the p-value
- z/t test with assumptions being true
- if
is true - if
is false - chance that we get a p-value of 1 (would be exactly on the mean) = that little bar
- rough guideline
- if we are carrying out the test at a fixed level of
finding p-values
- example
- suppose in a Z/t test the observed value of the test statistic is found to be 2.00
, - p-value = 1-pnorm(2) = 0.0228
- pvalue = pnorm(2) = 0.977
- p-value = 2* (1-pnorm(2)) = 0.0456
- suppose in a Z/t test the observed value of the test statistic is found to be 2.00