<< 4.4 Order Statistics | 5.1 Convergence in Probability >>
Definition: Null and alternative hypothesis
Definition
Let : Random variable with pdf :
Suppose due to theory/preliminary experiment
- disjoint subsets of , (i.e., )
- or
Then
- We label these hypotheses as
- We refer the hypothesis as the null hypothesis
- We refer the hypothesis as the alternative hypothesis
Definition: Test, critical region, decision rule
Definition
Let
- : Random variable wth pdf
- : Random sample of
- : Sample space
Suppose
- : Null hypothesis
- : Alternative hypothesis
Then
- A test of versus is based on a subset
- We call the critical region
- Decision rule (test) of is
Definition: Test error types
Definition
Suppose
- : Null hypothesis
- : Alternative hypothesis
Then
- We say a Type I error occurs if is rejected when is true
- We say a Type II error occurs if is accepted when is true
Definition 4.5.1: Size of a critical region (or significane level)
Definition
if $ \alpha=\max_{\theta\in \omega_{0}}P_{\theta}[(X_{1},\dots,X_{n})\in C] $$ Then
- We say critical region is of size
- We often say is the significance level of the test associated with
- The size/significance level is the probability of making a type I error
Definition: Power of a test
Definition
Let [^1]
Then
- $ 1-P_{\theta}[\text{Type II Error}] = \textcolor{yellow}{P_{\theta}[(X_{1},\dots,X_{n})\in C]} $$
- We say the power of the test at
Definition: Power function
Definition
We define power function of a critical region to be $ \gamma_{C}(\theta)=P_{\theta}[(X_{1},\dots,X_{n})\in C];\quad\theta\in \omega_{1} $$
Suppose : Critical regions, both of size
Then is better than if
Remark: Types of hypothesis tests
Definition
A statistical hypothesis is a question a distribution from one or more random variables
A simple statistical hypothesis specifies completely about a distribution. e.g., and
A composite statistical hypothesis specifies in-completely about a distribution. e.g., and
Remark: Equivalent terms
The following terms are equivalent:
- Significance level of test ()
- Size of critical region ()
- Power of a test if is true
- Probability of type I error
Example
Let : Random variable with
Let , thus the sample space is
Let the critical region be
Notice that . Therefore,
- We reject and accept if and only if the sample mean is
- If , we accept
Because , then and . We can then obtain
where is a distribution function from Normal distribution