Re: [R] [FORGED] Question on Binom.Confint

2018-09-14 Thread Spencer Graves
On 2018-09-14 08:52, Guo, Fang (Associate) wrote: It's method="lrt" and I used the "binom" package.   The ultimate answer can be obtained as follows: > debug(binom.confint) > binom.confint(x = 0, n = 100, tol = 1e-8, method='lrt')   Then walk through the code line by line.    

Re: [R] [FORGED] Question on Binom.Confint

2018-09-14 Thread Guo, Fang (Associate)
It's method="lrt" and I used the "binom" package. -Original Message- From: Rolf Turner [mailto:r.tur...@auckland.ac.nz] Sent: Thursday, September 13, 2018 10:02 PM To: Guo, Fang (Associate) Cc: r-help@R-project.org Subject: Re: [FORGED] [R] Question on Binom.Confint On 09/14/2018 08:15

Re: [R] [FORGED] Question on Binom.Confint

2018-09-13 Thread Rolf Turner
On 09/14/2018 08:15 AM, Guo, Fang (Associate) 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! Point 1: This question is inappropriate f