p-values
Key questions for class discussion:
-
I get the purpose of the null hypothesis , what is the purpose of the other distribution?
-
How often do you expect your experiment to produce -values less than 0.05?
Answer 1: The “other distribution” is the truth. Knowing the truth lets you make a distribution of what p-values you expect. This gives you an idea of how often your experiment will give for example. (Since the -value is a random variable, you won’t see small -values all of the time… unless the truth is very very far from your null hypothesis.)
More questions:
-
Under what circumstances should you “accept the null hypothesis”? Discuss what goes wrong with this idea when you start to think about the details.
-
Does scaling change the area under the curve for the Gaussian distribution? Why not?
Problem Set P1
Given information: your null hypothesis is that comes from a normal distribution (the fancy name is Gaussian) with mean 5 and variance 9.
- You observe
.
- What -value do you report? Explain how you get your number.
- Interpret this value in a sentence. Use a percentage in your answer don’t just say something about “reject the null hypothesis”.
- (Standardization or
-score.)
- What linear transformation changes the distribution for into the unit normal distribution?
- The outputs of the transformation above are called z-scores. What is the z-score of ?
- What is the -value associated with observing ?
- Suppose you have set your signficance level of
and
the true distribution of the random variable
is a normal
.
- Show the distribution of -values for 10,000 sample y’s.
- What is the probability that you will get a significant result from a single experiment? (An estimate is ok.)
Appendix
It seems like applying a factor shinking by would change the area under the normal distribution curve. Some time we should talk about why that does not happen. If you look at the density function for a given , you will see that there are two places that appears, … one of them acts as the “du” area correction factor for your transformed integral. (This is too terse to be a real explanation.)
The formula for the Gaussian (normal) distribution with a mean of 0 and a standard deviation of is: