From: Lee Sander on
Thanks Peter and dpb

On Jul 28, 11:42 am, Peter Perkins
<Peter.Perk...(a)MathRemoveThisWorks.com> wrote:
> On 7/28/2010 11:27 AM, Lee Sander wrote:
>
> > Can you please show me an example of using this as a 2x2 and also as a
> > binofit
>
>  >> [pHat,pCI] = binofit(obsCounts(1),sum(obsCounts),.005)
> pHat =
>      0.2000
> pCI =
>      0.0390    0.4934
>
> So the CI says that H0:p=0.5 is rejected at the .5% level (which more or
> less agrees with the .0027 p-value shown in my other post).