Apr 14, 2010 10:34
If anyone is scrolling by here and wants to attempt to explain hypothesis testing (traditional & P-value method) to an idiot, I'd sure appreciate it. Cuz, I'm feelin' real stupid over here & have a test in just over 24 hrs.
Leave a comment
Say your factory makes jelly beans. (Yum.) You sell those jelly beans in packages of 100 grams each. The beans are not always perfectly the same size, so you can't guarantee that every package is EXACTLY 100 grams. The government says, "Hey, if packages are less than 100 grams, you are exploiting the customer and you'll be fined."
You don't have the money to weigh every single package, so what do you do? You say to the government, "Hey, if I weigh one out of every 1000 packages, every single day, and 99% of the samples I weigh are 100 grams or higher, will that allow me to label my packages as being 100 grams each?"
The government will say yes. (Because it's not interested in weighing all your damn jellybean packages either.)
The null hypothesis is that the mean is NOT equal to or greater than 100 grams.
The alternative hypothesis is that the mean is equal to or greater than 100 grams. (That's what you want to try to show. The way to show it is to show with a certain confidence that the opposite (the null hypothesis) is false.
The significance level is 0.01. (Which is 1 minus 99%)
You run your samples, and come up with a mean weight of 101 grams, with a p-level of 0.0085. The mean is above what you want, and the p-level is below your significance level. SUCCESS!
Edited because zeroes are important.
From Wikipedia:
"For example, an experiment is performed to determine whether a coin flip is fair (50% chance of landing heads or tails) or unfairly biased, either toward heads (> 50% chance of landing heads) or toward tails (< 50% chance of landing heads). (A bent coin produces biased results.)
Suppose that the experimental results show the coin turning up heads 14 times out of 20 total flips. The p-value of this result would be the chance of a fair coin landing on heads at least 14 times out of 20 flips. The probability that 20 flips of a fair coin would result in 14 or more heads is 0.058. Thus, the (upper tailed) p-value for the coin turning up heads at least 14 times out of 20 total flips is 0.058.
Because there is no way to know what percentage of coins in the world are unfair, the p-value does not give the chance that the coin is unfair. It measures the chance that a fair coin would give the same result, which is an independent value."
Reply
Thank you again! I'm going to try to apply this to some problems before the test tomorrow! You rock so much!
Reply
Reply
Reply
Leave a comment