Ripetizioni di Analisi
EN

Worked examples · Sheet 2

p-values for two-sided tests

Theory used:P-values and the ordering of outcomesInverting a two-sided test

Go to: Exercise 1Exercise 2

Exercise 1

A statistic that is standard normal under has observed value . For a symmetric two-sided test calculate the p-value and decide at level . Use .

z y -4-3-2-11234 O 0.06680.0668
φ(z)\varphi(z)
The two-sided p-value for is the sum of the two shaded tail areas, each equal to .

The p-value is the probability, under , of a result at least as far from zero as the observation. A statistic equal to is as far from zero as one equal to . Include both tails starting at these cutoffs.

The area to the right of is the complement of the given . The standard normal is symmetric about zero, so and the area to the left of is the same. The p-value is therefore twice .

At level each critical tail would have area and the corresponding cutoff is . The observed point marks a tail of area , larger than . Its magnitude is therefore below the rejection cutoff, as confirmed by .

Since exceeds , at level fail to reject .

Exercise 2

A two-sided t test for a normal population mean gives with degrees of freedom. Calculate the p-value and decide at levels and . The distribution function of at is approximately .

The population is normal and its standard deviation is estimated from the data, so under the null the statistic has a t distribution with nineteen degrees of freedom. Symmetry about zero makes the lower tail beyond as probable as the upper tail beyond . Double the upper-tail probability, the complement of the given distribution function value.

Reject at level exactly when . The same p-value is below and above , so reject at the first level and fail to reject at the second.

Comparing cutoffs gives the same decisions. At level each tail has area and cutoff , which exceeds. At level each tail has area and cutoff exceeds .

Report a mistake

Where:

Ripetizioni di Analisi

Keep studying

With a free account, you can pick up where you left off and see your progress next time you visit.

Sign up for free

Already have an account? Sign in

Contents