R/HWI.R

Defines functions HWI

Documented in HWI

HWI <-
function(x,Ya,Yb,Yab){
	estimate<-x/(0.5*(Ya+Yb)+Yab+x)
	se<-sqrt(estimate*(1-estimate)/(Yab+0.5*(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.