R/likelihood_phi.R

Defines functions likelihood_phi

Documented in likelihood_phi

likelihood_phi <- function(phi, data, init) {
  ub <- init + 5
  pcubature(
    likelihood_orig_phi,
    lowerLimit = c(1e-5, 1e-5, 1e-5),
    upperLimit = c(ub, 1 - 1e-5, 1 - 1e-5),
    phi = phi, data = data, vectorInterface = TRUE
  )$integral
}
BriceonWiley/IntegratedLikelihood.R documentation built on Aug. 21, 2020, 11 p.m.