R/integrand_t.R

Defines functions integrand_t

#' @import stats
integrand_t <- function(delta,
                        t,
                        n,
                        nu,
                        mu_delta,
                        gamma,
                        kappa) {
  suppressWarnings(
    dt(
      x = t,
      df = nu,
      ncp = sqrt(n) * delta) * 1 / gamma * dt(
        (delta - mu_delta) / gamma,
        df = kappa))
}

Try the baymedr package in your browser

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

baymedr documentation built on March 28, 2021, 9:08 a.m.