Verständnisproblem beim Binomialtest: binom.test()
Verfasst: Do Jul 11, 2019 2:27 pm
Hallo, bei der Durchführung eines Binomialtest habe ich ein Verständnisproblem:
Ich führe 3 Binomialtests durch mit folgendem R Befehl:
Dabei halte ich folgende Parameter konstant:
Analog: Bei 178 Erfolgen ist auch alles konsistent: (p-value=0.1186 > 0.1=Alpha) -> H1 wiederlegt und H0 gilt. Gleichzeitig liegt p=0.05 im Konfidenzintervall [0.0393; 0.0502]
Bei 177 Erfolgen sind die Welten nicht konsistent: p-value = 0.1024 > Alpha (=0.10), ABER: p=0.05 ist NICHT im Konfidenzintervall [0.03902502; 0.04997612]
Kann mir das jemand erklären? Vielen Dank im Voraus an alle, die sich damit beschäftigen! Ich checks ned
Ich führe 3 Binomialtests durch mit folgendem R Befehl:
Code: Alles auswählen
> binom.test(k, n, p, conf.level=1-alpha)
- n = 4000
- p = 0.05
- Alpha = 0.10
Code: Alles auswählen
> binom.test(176, 4000, 0.05, conf.level=0.90)
Code: Alles auswählen
> binom.test(177, 4000, 0.05, conf.level=0.90)
Code: Alles auswählen
> binom.test(178, 4000, 0.05, conf.level=0.90)
Code: Alles auswählen
> binom.test(176, 4000, 0.05, conf.level=0.90)
Exact binomial test
data: 176 and 4000
number of successes = 176, number of trials = 4000, p-value = 0.08168
alternative hypothesis: true probability of success is not equal to 0.05
90 percent confidence interval:
0.03878960 0.04971186
sample estimates:
probability of success
0.044
Code: Alles auswählen
> binom.test(178, 4000, 0.05, conf.level=0.90)
Exact binomial test
data: 178 and 4000
number of successes = 178, number of trials = 4000, p-value = 0.1186
alternative hypothesis: true probability of success is not equal to 0.05
90 percent confidence interval:
0.03926050 0.05024034
sample estimates:
probability of success
0.0445
Code: Alles auswählen
> binom.test(177, 4000, 0.05, conf.level=0.90)
Exact binomial test
data: 177 and 4000
number of successes = 177, number of trials = 4000, p-value = 0.1024
alternative hypothesis: true probability of success is not equal to 0.05
90 percent confidence interval:
0.03902502 0.04997612
sample estimates:
probability of success
0.04425