Skip to content
Sahithyan's S3
1
Sahithyan's S3 — Applied Statistics

Hypotheses Testing

A hypotheses is an intelligent educated guess or assumption about a population parameter, which may or may not be true. Not yet proven.

Hypotheses testing, evaluates if a hypothese can be rejected.

A statement that says the sample observations result purely from chance. Denoted by H0H_0.

Believed to be true unless rejected with enough evidence.

A statement that says the sample observations occur because of some non-random cause. Denoted by H1H_1 or HaH_a.

True when null hypotheses is rejected.

Relation between Null and Alternative Hypothesis

Section titled “Relation between Null and Alternative Hypothesis”

The null and alternative hypothesis are complementary, and mutually exclusive.

Aka. critical region. Consist of all values of the test statistic values for which H0H_0 is rejected.

Consist of all values of the test statistic values for which H0H_0 is not rejected.

A value that separates the rejected region from the accepted region.

A numerical value used to determine whether to reject H0H_0. Calculated from the sample data.

If the test statistic falls within the critical region, H0H_0 is rejected. if the test statistic falls within the accepted region, H0H_0 is not rejected.

If population standard deviation σ\sigma is known:

Z=xˉμ0σ/nN(0,1)Z = \frac{\bar{x} - \mu_0}{\sigma/\sqrt{n}} \equiv N(0,1)

If population standard deviation σ\sigma is unknown:

t=xˉμ0s/ntn1t = \frac{\bar{x} - \mu_0}{s/\sqrt{n}} \equiv t_{n-1}

When H1H_1 is true, but rejected. Probability of Type I error is called the significance level and is denoted by α\alpha.

P(Type I Error)=α=P(Reject H0H0 is true)P(\text{Type I Error}) = \alpha = P(\text{Reject } H_0 | H_0 \text{ is true})

If not defined, α=0.05\alpha=0.05 is used.

When H0H_0 is false, but not rejected. Denoted by β\beta.

P(Type II Error)=β=P(Not Reject H0H0 is false)P(\text{Type II Error}) = \beta = P(\text{Not Reject } H_0 | H_0 \text{ is false})

The probability of correctly rejecting H0H_0 when it is false. Equal to 1β1-\beta.

Defines where the rejection region lies in a probability distribution. Depends on H1H_1.

Used when testing for any difference, without direction. The critical region is split into 2 tails on either ends. are identical and

Used when testing if the parameter is greater than the claimed value. Rejection region lies entirely in the right tail of the distribution.

Used when testing if the parameter is less than the claimed value. Rejection region lies entirely in the left tail of the distribution.

Alt. Hypothesis (H1H_1)Tail TypeRejection Condition
μμ0\mu \neq \mu_0Two-tailedz>zα/2\lvert z \rvert \gt z_{\alpha/2}
μ>μ0\mu \gt \mu_0Right-tailedz>zαz \gt z_{\alpha}
μ<μ0\mu \lt \mu_0Left-tailedz<zαz \lt -z_{\alpha}

For a single sample, either critical value method or p-value method can be used. Both produce the same results.