ea_phi_uniGaussian_DL_LB: Obtain the global lower bound for phi function

View source: R/RcppExports.R

ea_phi_uniGaussian_DL_LBR Documentation

Obtain the global lower bound for phi function

Description

Finds the global bound of the phi function between a given interval

Usage

ea_phi_uniGaussian_DL_LB(mean, sd, beta, precondition)

Arguments

mean

mean value

sd

standard deviation value

beta

real value

precondition

precondition value

Value

The global lower bound of phi

Examples

mu <- 0.423
sd <- 3.231
beta <- 0.8693
precondition <- 1.243
lower <- -2.823
upper <- 4.322
curve(ea_phi_uniGaussian_DL(x, mu, sd, beta, precondition), lower, upper)
abline(h=ea_phi_uniGaussian_DL_bounds(mean = mu,
                                      sd = sd,
                                      beta = beta,
                                      precondition = precondition,
                                      lower = lower,
                                      upper = upper),
       col = 'red', lty = 2)
abline(h=ea_phi_uniGaussian_DL_LB(mean = mu,
                                  sd = sd,
                                  beta = beta, 
                                  precondition = precondition),
       col = 'blue', lty = 3)

# another example where the mean is not in the interval
mu <- 0.423
sd <- 3.231
beta <- 0.8693
precondition <- 1.243
lower <- 2.823
upper <- 5.322
curve(ea_phi_uniGaussian_DL(x, mu, sd, beta, precondition), lower, upper)
abline(h=ea_phi_uniGaussian_DL_bounds(mean = mu,
                                      sd = sd,
                                      beta = beta,
                                      lower = lower,
                                      upper = upper,
                                      precondition = precondition),
       col = 'red', lty = 2)
abline(h=ea_phi_uniGaussian_DL_LB(mean = mu,
                                  sd = sd,
                                  beta = beta, 
                                  precondition = precondition),
       col = 'blue', lty = 3)

rchan26/hierarchicalFusion documentation built on Sept. 11, 2022, 10:30 p.m.