I have a question regarding binom.test() in R (3.3.3 on Windows 10):
I have a null hypothesis that the p(success)=0.0033 and I want to know whether I can reject this null hypothesis at a signficance level of 0.10 (two-tailed).
I observed 1 success in 1497 trials so I use:
> binom.test(1,1497,0.0033,conf.level=0.9)
Exact binomial test
data: 1 and 1497
number of successes = 1, number of trials = 1497, p-value = 0.1062
alternative hypothesis: true probability of success is not equal to 0.0033
90 percent confidence interval:
3.426347e-05 3.164954e-03
sample estimates:
probability of success
0.0006680027
My null hypothesis p=0.0033 is outside the confidence interval (> 0.00316) so I am tempted to reject it, but then when I look at the p-value, it is 0.1062 (> 0.10) which would say I cannot reject it.
Is this an inconsistency or am I missing something?