# [R] one-sample binomial test

Andrew C. Ward andreww at cheque.uq.edu.au
Mon Jul 8 05:37:21 CEST 2002

```This reply, while probably seen as helpful by some, reminds me that
sometimes the price paid for "free" software is to endure rude, patronising
interactions with some of those in the user or developer community.

Tim Wilson originally wrote:
>> Here's how I solved a problem for my stats class. I'm pretty sure I
>> understand what's going on, but I wonder if there's a more direct way
>> to solve it.

Rolf Turner replied:
>(a) You definitely don't have to --- and SHOULDN'T --- use ``trial
>and error''.

>(b) You should talk to the instructor of your stats class. That's
>what he or she is paid for.

>(d) This is a very standard sort of problem. It is also very easy to
>solve with pencil and paper (or at the very least a hand
>calculator). You do ***not*** need to use binom.test() (in fact this
>is counter productive) nor do you need to use prop.power.test() as
>someone else suggested (although this will do it for you).

>There is a formula for the required sample size which is surely given
>in your textbook --- in ***any*** introductory stats textbook. The
>formula is readily amenable to use with ``hand calculations''. Find
>the formula and use it.

>(e) You were given this exercise to get you to learn some of the
>basic ideas about confidence intervals for proportions. Learn them.
>Don't try to dodge the issue by pumping numbers through a
>computerized ``black box''.

Regards,

Andrew C. Ward
CAPE Centre
Department of Chemical Engineering
The University of Queensland
Brisbane Qld 4072 Australia

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._

```