R/thresh.R

Defines functions thresh

Documented in thresh

thresh=function(k,n1,c2,c3,r2,q1){

# ACCEPT-REJECT BOUND

choose(n1-c2,k)*0.9^k*choose(n1-k,c3+1)/(choose(n1,k)*choose(n1,c3+1))
}

Try the bayess package in your browser

Any scripts or data that you put into this service are public.

bayess documentation built on Aug. 11, 2022, 5:07 p.m.