Hypothesis testing (1) Basic concepts of hypothesis testing

Hypothesis testing (Test of Hypothesis) means to first put forward a hypothesis about the population or the nature of the population, and then use the information provided by the sample to test the hypothesis. to determine whether the hypothesis is true. Hypothesis tests can be divided into the following two categories:

  1. Propose a hypothesis about a certain parameter of the population distribution, and use samples from the population to test whether the hypothesis is true. This type is called parametric hypothesis testing.
  2. Propose a hypothesis about the nature of the population, and use samples from the population to test whether the hypothesis is true. This type is called non-parametric hypothesis testing .

Hypotheses and testing rules

The first task of hypothesis testing is to appropriately formulate hypothesis propositions. Taking parametric hypothesis testing as an example, assume that the population X X X's distribution function F ( x ; θ ) , θ ∈ Θ F(x;\theta),\theta \in \Theta F(x;θ),iΘ, number θ \theta θ Unknown.针对 θ \theta θ General form of submission “ θ ∈ Θ 0 \theta \in \Theta_0 iTh0”. H 0 H_0 H0Display the name of the programoriginal programorzero program< a i=4>,Immediate
H 0 : θ ∈ Θ 0 H_0:\theta \in \Theta_0 H0:iTh0If the test result rejects the null hypothesis H 0 H_0 H0, that means accepting the relevant θ \theta θ 的另一个假设“ θ ∈ Θ 1 \theta \in \Theta_1 iTh1”. H 1 H_1 H1 represents this hypothesis and is called alternative hypothesis (Alternative hypothesis), that is,
H 1 : θ ∈ Θ 1 H_1:\theta \in \Theta_1 H1:iTh1 On the surface, reject H 0 H_0 H0 means acceptance H 1 H_1 H1, opposition, acceptance H 0 H_0 H0 means reject H 1 H_1 H1, either/or, the null hypothesis and the alternative hypothesis seem to have equal status. In fact, this is not the case. In mathematical statistics, the null hypothesis must be protected, and strong evidence is required to reject it, while the alternative hypothesis does not receive such treatment.

Proposed the null hypothesis H 0 H_0 H0 和备择假设 H 1 H_1 H1 After that, it is necessary to test the pair of hypotheses, that is, to formulate a rule, which should be achieved when a sample value is obtained from a sampling ( x 1 , . . . , x n ) T (x_1,...,x_n)^T (x1,...,xn)T Time, fixed reception H 0 H_0 H0 Still accept H 1 H_1 H1

two types of errors

Testing the hypothesis H 0 H_0 H0When , people are based on the sample values ​​obtained after sampling ( x 1 , . . . , x n ) T (x_1,...,x_n)^T (x1,...,xn)T Rejection or acceptance H 0 H_0 H0decision. Due to the random nature of the sample, errors may occur where the decisions made are inconsistent with the real situation. Errors fall into two categories:

  1. Chapter Ⅰ错误(弃正错误):本原唇设 H 0 : θ ∈ Θ 0 H_0:\theta \in \ Theta_0H0:iTh0 is true, but the sample value falls in the rejection region W W W (therefore rejecting the null hypothesis), the error probability is P θ ( W ) P_\theta(W) Pθ(W)
  2. Second category 错误(existent伪错误):本原聇设 H 0 : θ ∈ Θ 0 H_0:\theta \in \ Theta_0H0:iTh0 is not true, but the sample value falls in the acceptance region W c W^c INc (therefore accepting the null hypothesis), the error probability is P θ ( W c ) P_\theta(W^c) Pθ(Wc)

General steps for hypothesis testing

  1. Properly propose the null hypothesis H 0 H_0 H0 和备择假设 H 1 H_1 H1
  2. Construct test statistic Z Z Z,Besides H 0 H_0 H0 Determined under the premise that Z Z The probability distribution of Z requires Z Z The distribution of Z does not depend on any unknown parameters;
  3. Determine the deny domain. at H 0 H_0 H0When is established, it is not conducive to H 0 H_0 H0 Set the form of the rejection region W = { Z ∈ A } W=\{Z \in A\} IN={ ZA}, re-rooted definite horizontal α \alpha α Z Z Z Infinite, equation P H 0 { W } ≤ α P_{H_0}\{W\} \le \alpha PH0{ W}α Confirmation rejection area W W W
  4. Carry out a sampling, and based on the obtained sample value and the rejection region determined above, H 0 H_0 H0Make a decision to reject or accept.

references

[1] "Applied Mathematical Statistics", Shi Yu, Xi'an Jiaotong University Press.

Guess you like

Origin blog.csdn.net/myDarling_/article/details/134650223