Główna zawartość
Statystyka i prawdopodobieństwo
Kurs: Statystyka i prawdopodobieństwo > Rozdział 12
Lekcja 1: Idea testów istotnościUżyj P-values żeby wyciągać wnioski
Naucz się w jaki sposób używać wartości prawdopodobieństwa (p-value) i poziomu istotności żeby wyciągać wnioski z testu istotności.
This article was designed to provide a bit of teaching and a whole lot of practice. The questions are ordered to build your understanding as you go, so it's probably best to do them in order. Onward!
We use p-values to make conclusions in significance testing. More specifically, we compare the p-value to a significance level alpha to make conclusions about our hypotheses.
If the p-value is lower than the significance level we chose, then we reject the null hypotheses H, start subscript, 0, end subscript in favor of the alternative hypothesis H, start subscript, start text, a, end text, end subscript. If the p-value is greater than or equal to the significance level, then we fail to reject the null hypothesis H, start subscript, 0, end subscript—this doesn't mean we accept H, start subscript, 0, end subscript. To summarize:
Let's try a few examples where we use p-values to make conclusions.
Przykład 1
Alessandra designed an experiment where subjects tasted water from four different cups and attempted to identify which cup contained bottled water. Each subject was given three cups that contained regular tap water and one cup that contained bottled water (the order was randomized). She wanted to test if the subjects could do better than simply guessing when identifying the bottled water.
Her hypotheses were H, start subscript, 0, end subscript, colon, p, equals, 0, point, 25 vs. H, start subscript, start text, a, end text, end subscript, colon, p, is greater than, 0, point, 25 (where p is the true likelihood of these subjects identifying the bottled water).
The experiment showed that 20 of the 60 subjects correctly identified the bottle water. Alessandra calculated that the statistic p, with, hat, on top, equals, start fraction, 20, divided by, 60, end fraction, equals, 0, point, 3, with, \bar, on top had an associated P-value of approximately 0, point, 068.
Przykład 2
A certain bag of fertilizer advertises that it contains 7, point, 25, start text, space, k, g, end text, but the amounts these bags actually contain is normally distributed with a mean of 7, point, 4, start text, space, k, g, end text and a standard deviation of 0, point, 15, start text, space, k, g, end text.
The company installed new filling machines, and they wanted to perform a test to see if the mean amount in these bags had changed. Their hypotheses were H, start subscript, 0, end subscript, colon, mu, equals, 7, point, 4, start text, space, k, g, end text vs. H, start subscript, start text, a, end text, end subscript, colon, mu, does not equal, 7, point, 4, start text, space, k, g, end text (where mu is the true mean weight of these bags filled by the new machines).
They took a random sample of 50 bags and observed a sample mean and standard deviation of x, with, \bar, on top, equals, 7, point, 36, start text, space, k, g, end text and s, start subscript, x, end subscript, equals, 0, point, 12, start text, space, k, g, end text. They calculated that these results had a P-value of approximately 0, point, 02.
Ethics and the significance level alpha
These examples demonstrate how we may arrive at different conclusions from the same data depending on what we choose as our significance level alpha. In practice, we should make our hypotheses and set our significance level before we collect or see any data. Which specific significance level we choose depends on the consequences of various errors, and we'll cover that in videos and exercises that follow.
Chcesz dołączyć do dyskusji?
Na razie brak głosów w dyskusji