Hypothesis testing:通过测试来确定一个sample statistic是不是来自于一个population with the hypothesized value of the population parameter。
State the Hypotheses
每个hypothesis testing都有两个假设:null hypothesis($ H_0 $)和alternative hypothesis($ H_a $)。null是默认为真的,除非通过testing证明不是真,那么就采用alternate。目标就是证明null不是真。两个假设都是以population parameter来进行假设的,然后用sample statistics来验证。
Two-sided和one-sided假设:以mean举例,如果是假设“是否等于某个值”,那么就是two-sided(因为既可以大于也可以小于);如果假设“大于/小于等于”那就是单侧。
在金融中,one-side更加反映researcher的倾向性;而如果one-side也是reasonable的情况下采用了two-side,那就是想表达中立性。
常用Test Statistics
根据alternative来确定critical value是哪边: