R/MWI.R

Defines functions MWI

Documented in MWI

MWI <-
function(x,Ya,Yb,Yab,m){
	estimate<-x/(m*(Ya+Yb)+Yab+x)
	se<-sqrt(estimate*(1-estimate)/(Yab+m*(Ya+Yb)+x))
	return(c(estimate,se))
}

Try the assocInd package in your browser

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

assocInd documentation built on May 2, 2019, 11:42 a.m.