10 Binomial Sign Test

10.1 The Binomial Distribution

10.1.2 Effect of Sample Size

10.2 Example: Fair Coin?

Experiment A coin is flipped ten times and lands on heads eight times

Quesiton Is coin biased?

Hypotheses $$ H_0: Proportion (X) = .50 \

H_1: Proportion (X) .50 $$

10.2.1 Enter tabulated data (subtotals)

heads tails   Sum 
    8     2    10 

10.2.2 Two-sided Test

defaults

  • Fifty-fifty change: \(H_0: P = .50 \rightarrow\) p = 0.50
  • Two-sided alternative: alternative = "two.sided"
  • 95% confidence interval: conf.level = 0.95

    Exact binomial test

data:  .
number of successes = 8, number of trials = 10, p-value = 0.1094
alternative hypothesis: true probability of success is not equal to 0.5
95 percent confidence interval:
 0.4439045 0.9747893
sample estimates:
probability of success 
                   0.8 

10.2.3 One-sided Test


    Exact binomial test

data:  .
number of successes = 8, number of trials = 10, p-value = 0.05469
alternative hypothesis: true probability of success is greater than 0.5
95 percent confidence interval:
 0.4930987 1.0000000
sample estimates:
probability of success 
                   0.8