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) <fa...@cornerstone.com> Cc: r-help@R-project.org Subject: Re: [FORGED] [R] Question on Binom.Confint
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 for this list, since it is about statistical theory and not about R syntax and programming. Point 2: Where did you find the function Binom.Confint()? I can find no such function anywhere. I did manage to locate a function binom.confint() (note the lower case "b" and "c") but it does not have an argument "method". Please do not expect those whom you are addressing to be telepathic. Point 3: Having "method"=lrt in the call is decidedly weird. Perhaps you meant method="lrt"; this is entirely different. cheers, Rolf Turner -- Technical Editor ANZJS Department of Statistics University of Auckland Phone: +64-9-373-7599 ext. 88276 *********************************************************** 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. *********************************************************** ______________________________________________ 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.