Hi Fang,
Let's assume that you are using the "binom.confint" function in the
"binom" package and you have made a spelling mistake or two. This
function employs nine methods for estimating the binomial confidence
interval. Sadly, none of these is "lrt". The zero condition is
discussed in the help page for four of these methods. Assuming you
want to use another method, you will have to look up the method. A
good start is:

https://en.wikipedia.org/wiki/Binomial_proportion_confidence_interval

Jim

On Fri, Sep 14, 2018 at 11:38 AM Guo, Fang (Associate)
<fa...@cornerstone.com> wrote:
>
> Hi,
>
> I have a question with the function Binom.Confint(x,n,"method"=lrt). For 
> likelihood ratio test, I'd like to ask how you define the upper limit when 
> the frequency of successes is zero. Thanks!
>
>
> Fang Guo
> Associate
>
> CORNERSTONE RESEARCH
> 699 Boylston Street, 5th Floor
> Boston, MA 02116-2836
> 617.927.3042 direct
> fa...@cornerstone.com<mailto:fa...@cornerstone.com>
>
> www.cornerstone.com<http://www.cornerstone.com/>
>
>
> ***********************************************************
> Warning: This email may contain confidential or privileged information
> intended only for the use of the individual or entity to whom it is
> addressed. If you are not the intended recipient, please understand
> that any disclosure, copying, distribution, or use of the contents
> of this email is strictly prohibited.
> ***********************************************************
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to