R/Ebi.R

Defines functions Ebi

Documented in Ebi

Ebi <-
function(D, Z_i, R, y, X_i, B){
  (D %*% t(Z_i)) %*% solve(Z_i %*% D %*% t(Z_i) + R) %*% (y - X_i %*% B) 
}

Try the MargCond package in your browser

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

MargCond documentation built on May 1, 2019, 8:46 p.m.