R/dpostb.R

dpostb <- function(y,x,z,betas,gammas,bpri,Bpri,model,m) {
  
  L <- veros(y,x,z,betas,gammas,model,m)
  P <- dmvnorm(t(betas), bpri, Bpri) # priori
  value <- L*P
  value
}

Try the NegBinBetaBinreg package in your browser

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

NegBinBetaBinreg documentation built on May 2, 2019, 10:52 a.m.