Displaying 1 result from an estimated 1 matches for "suciu".
Did you mean:
sucio
2010 Jan 23
1
Error: could not find function
Hi.
I'm trying to create an Agresti-Coull confidence interval without using the
binom package.
Despite many trials, I keep getting the same problem- see below.
> y=334
> n=1160
> alpha=.05
> b=(y+.5*qnorm(1-alpha/2)**2)/(n+qnorm(1-alpha/2)**2)
> b
[1] 0.288631
> ac=b+qnorm(1-alpha/2)*sqrt(b(1-b)/(n+qnorm(1-alpha/2)**2))
Error: could not find function "b"
What am I