L1prop {evidence} | R Documentation |
When given the number of “successes” and the sample size this
function plots the normed likelihood of values of the binomial
parameter \pi
and calculates the likelihood ratio for a hypothesized
value and the maximum likelihood value for the sample, as well as an
approximate frequentist p-value.
L1prop(x, n, p.hypoth, pLset=0.05)
x |
the number of sampling units with the feature |
n |
the number of sampling units examined |
p.hypoth |
the hypothesized probability |
pLset |
the desired likelihood for the likelihood interval |
none, the normed likelihood for different values of the binomial probability is plotted with the likelihood interval, and some information is printed
Robert van Hulst
van Hulst, R. 2018. Evaluating Scientific Evidence. ms.
Pawitan, Y. 2001. In All Likelihood. Oxford University Press, Oxford.
L1prop(13, 78, 0.02)