1970年1月1日
2086 Lecture 5 Hypothesis Testing
No description yet.
Lecture Note: Lecture 5 Notes.pdf
Previous: 2086 Lecture 4 - Central Limit Theorem and Confidence Intervals Next: 2086 Lecture 6 - Linear Regression
Hypothesis testing
Hypothesis testing includes two hypothesis, null hypothesis and alternative hypothesis. Alternative hypothesis is the against conclusion of null hypothesis. After we decided our two hypothesis, we will calculate a p-value, the formula of p-value depends on our hypothesis:
Notice that here represent the actual population parameter, and the represent the hypothesis parameter.
We can calculate by
We don’t know the population parameter, so we use the sample parameter, and than find the difference between sample parameter and hypothesis parameter, divide by standard deviation so we know how many standard deviation is between sample and hypothesis, and then we can use z-table to find the p-value.
If the p-value > 0.1 means we do not have enough evidence against the null hypothesis, because there will be more then 10% chance of seeing such a result
If p-value is between 0.1 and 0.05, we have a marginal evidence against the null hypothesis
If p-value is between 0.05 and 0.01, we have a quite strong evidence against the null hypothesis
If p-value is even lower, we have a strong evidence against the null hypothesis, if we take 100 different samples, only one of them will have such estimated parameter