[R] newbee question

R.E. Darnell r.e.darnell at ncl.ac.uk
Thu Nov 16 17:55:42 CET 2000


Jan Burse <burse at eawag.ch> writes:

> Dear All
> 
> Where can I lookup good methods to compute
> p from q=bin(m,n)p^n*(1-p)^(m-n) such that
> q<=alfa, alfa small. Are there such libs,
> code and source in R?
> 


 eta<-glm(cbind(n,m-n)~1,family=binomial)$coeff
 exp(eta)/(1+exp(eta))

would work ;-). I am not sure how "good" it is.

[...]

Ross Darnell

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list