Hypothesis Testing - Basic Theory Question

Click For Summary
SUMMARY

The discussion centers on the application of hypothesis testing in the context of John guessing Karen's birth date. The probability of John guessing correctly is calculated as 0.0027, which is less than the alpha level of 0.05 set for the test. The confusion arises around the interpretation of the p-value in relation to the alternative hypothesis, specifically whether John is a lucky guesser or has prior knowledge of the date. The use of Bayes' theorem is highlighted to compare the probabilities of the two hypotheses, ultimately leading to the conclusion that if both hypotheses are considered equally likely, the significance of the result remains substantial.

PREREQUISITES
  • Understanding of basic probability concepts
  • Familiarity with hypothesis testing and p-values
  • Knowledge of Bayes' theorem and conditional probability
  • Ability to interpret alpha levels in statistical tests
NEXT STEPS
  • Study the application of Bayes' theorem in real-world scenarios
  • Learn about the implications of setting different alpha levels in hypothesis testing
  • Explore the concept of prior probability in Bayesian statistics
  • Investigate common misconceptions in interpreting p-values and hypothesis testing
USEFUL FOR

Students of statistics, data analysts, researchers in behavioral sciences, and anyone interested in understanding the fundamentals of hypothesis testing and probability theory.

quarklet
Messages
6
Reaction score
0

Homework Statement



Karen asks John to guess the date of her birth, not including the year (i.e. the day and month she was born; discount leap years). If John guessed correctly on his first try, would you believe his claim that he made a lucky guess or would you be suspicious that he already knew your birth date? Explain why, relating to chance and hypothesis testing.

2. The attempt at a solution

The probability of John guessing correctly on his first try is 1 correct day/365 possible days, or 0.0027.

I chose to set the alpha level at 0.05, because none is given in the question.

I know the probability of a correct guess due to chance is less than the alpha level (.0027 < 0.05).

Here is where I get confused. Would my alternative hypothesis be that John is psychic, or a lucky guesser? i.e. What exactly am I proving by the fact that "p-value < alpha?" I feel like this should seem obvious, but I am really frustrated.

Please help guide me in the right direction.
 
Physics news on Phys.org
A word of warning: this might just confuse you more.

So hypothesis A says that John guessed the date and hypothesis B says he knew it. Let's denote the conditional probability that John guessed the date, given that he answered it correctly by P(A|C). This is given by Bayes' theorem,

[tex]P(A|C) = \frac{1}{N} P(C|A) P(A)[/tex]

where P(A|C) is the conditional probability that A is true, given that you know C (that he guessed right) and P(C|A) is the reversed conditional probability: if you know that John doesn't know the answer, what are the odds of guessing. P(A) is the prior probability you give to the hypothesis and N is a normalization constant that does not depend on the hypothesis.

Now, P(C|A) is just 1/365, and P(A) is probability you assign to the hypothesis. If they are complementary (as in this case) you'd have P(A) + P(B) = 1, etc.

Then take hypothesis B: now you have P(C|B) = 1, so P(B|C) = [1-P(A)]/N. You can compare the two cases easily

[tex]\frac{P(A|C)}{P(B|C)} = \frac{P(A)}{365 (1-P(A))}.[/tex]

You see that the answer depends on whether or not you think John might have known the answer. If you think that it's completely impossible that John could have known it, you'd assign P(A) = 1 and then you'd have P(B|C) = 0 (since P(B) = 0). If you think there's a one in million chance of John being a psychic, you'd plug in P(A) = 0.999999, and so forth.

Now, in this case you obviously don't have any knowledge on P(A). In this case, the usual assumption is just that the hypotheses are equally likely, P(A) = P(B) = 1/2. In that case, you'd end up with P(A|C) = 0.0027 P(B|C), which is clearly very significant no matter what alpha you choose.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
20
Views
3K
  • · Replies 20 ·
Replies
20
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
26
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 4 ·
Replies
4
Views
4K