Chapter 8: Hypothesis Testing

Overview

Scientific Hypotheses and Errors

Hypothesis:

Error types:

Inferential Statistics

Inferential Statistics:

Statistical Hypothesis:

Scientific Method for Inferential Statistics

The procedure for scientifically processing statistical hypotheses is as follows:

Catch A Test By Its Tail

There are three types of test tails, dependent on the given alternative hypothesis:

Valuable Terms

Level of Significance; $\alpha$:

P Value:

Critical Value; CV:

Critical Region:

Z-Test

Z Test

The Z Test is the traditional method for assessing statistical hypotheses.

Finding the Z Test Critical Value

The critical value is established by finding the $z$ score for the given $\alpha$.

Common Critical Values

  Left-Tailed Right-Tailed Two-Tailed
$\alpha=0.1$ -1.28 1.28 $\pm$1.64
$\alpha=0.05$ -1.64 1.64 $\pm$1.96
$\alpha=0.01$ -2.33 2.33 $\pm$2.58

Using the Z Test

To use the Z test, the corresponding test statistic is calculated and compared to the critical value.

The formula for the sample $z$ score is:

\[z = \frac{\bar{X} - \mu}{\sigma/\sqrt{n}}\]

where:

Example

P-Value Method

P-Value Method

A similar method to the $z$ test is the $P$-value method.

Finding the P-Value

To find the statistic $P$-value, find the $z$ score, and the corresponding probability.

Example

Student T Distribution

Instances of T Distribution Necessity

The $z$ test and $P$-value method both use the statistic $z$ score.

As noted in earlier chapters, the $z$ score cannot be used when the sample size is less than 30 and population standard deviation or distribution shape is unknown.

Instead, the T distribution is used.

Note: the T distribution requires that the sample data is approximately normally distributed.

Calculating the T Distribution Critical Value

To calculate the critical value using the T Distribution, find the $t$ value for the given degrees of freedom and $\alpha$.

Reminder: $d.f.=n-1$

Using the T Distribution Critical Value

To use the T Test critical value, calculate the corresponding $t$ value for the given $\alpha$, sample degrees of freedom, which is $n-1$, and tail type.

Next, find the statistic $t$ value, using the sample standard deviation:

\[t = \frac{\bar{X}-\mu}{s-\sqrt{n}}\]

Compare the statistic $t$ value with the critical value; if the $t$ value is beyond the critical value, reject H0.

T Distribution Critical Value Example

Calculating the T Distribution P Value

Finding the $P$-value for a T distribution is difficult, as T distribution tables provide the $t$ values for discrete areas at large intervals, and finding the precise area for a given $t$ value is difficult.

Instead, a range of $P$-values is used, corresponding to the two areas between which the $t$ score lies.

Example:

Using the T Distribution P Value

When using the T Distribution $P$-value, H0 can only be rejected if the entire range for the $P$-value is lower than $\alpha$.

Example:

T Distribution P Value Example