Ripetizioni di Analisi
EN

Definition · Hypothesis tests

Score tests for one or two proportions

Definition from the chapter Hypothesis tests, power and chi-square of Statistics and probability, with the exercises in which it is used.

Score tests for one or two proportions

A coin tossed times gives heads. If the coin is fair, the proportion of heads has mean and standard deviation , so the difference equals standard deviations and the two-sided p-value is .

For independent Bernoulli trials with success probability , let be the number of successes and set . Under , with , the variance of is . The score test standardizes the difference using this variance, calculated at the null value :

By the central limit theorem the null distribution of is approximated by the standard normal when the expected counts and are large enough; the exercises require both to be at least . With , for example, at least trials are needed, because .

When one of the two conditions is not satisfied, the p-value is calculated exactly from the distribution (Chapter 5). For a two-sided binomial test, two common criteria give different p-values in some cases. With , , and , we have .

  • Doubling the smaller tail gives .
  • Adding the probabilities of the outcomes whose probability is no larger than that of the observed one, namely and , gives .

At level the first criterion does not reject and the second rejects, so the criterion must be specified.

With two independent Bernoulli samples of sizes and counts , the hypothesis states that the proportions are equal without stating their value. If is true, all trials have the same success probability, so it is estimated by the pooled proportion , in which each observation receives the same weight. If lies in and the expected counts are adequate, use

For example, with successes out of and out of , the pooled estimate is . The denominator is , so .

Read it in the chapter Hypothesis tests, power and chi-square →

Exercises where this definition is used

Worked examples

Practice exercises

All the definitions and theorems of Statistics and probability → · All the theorems on the site →

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