# [R] Question on Binom.Confint

Guo, Fang (Associate) FAGuo @end|ng |rom corner@tone@com
Fri Sep 14 17:04:21 CEST 2018

```I did use library(binom). However, I was able to use the method "lrt" which is short for likelihood ratio test.
-----Original Message-----
From: Jim Lemon [mailto:drjimlemon using gmail.com]
Sent: Thursday, September 13, 2018 11:50 PM
To: Guo, Fang (Associate) <FAGuo using cornerstone.com>; r-help mailing list <r-help using r-project.org>
Subject: Re: [R] Question on Binom.Confint

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) <FAGuo using 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
> faguo using cornerstone.com<mailto:faguo using 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
> that any disclosure, copying, distribution, or use of the contents of
> this email is strictly prohibited.
> ***********************************************************
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help