R/LikelihoodApproximation.R
customFunction.Rd
A custom function to approximate a log likelihood function
customFunction(x, mu, sigma, gamma)
The approximate log likelihood for the given x.
A custom parametric function designed to approximate the shape of the Cox log likelihood function.
When gamma = 0
this function is the normal distribution.
customFunction(x = 0:3, mu = 0, sigma = 1, gamma = 0)
#> [1] 0.0 -0.5 -2.0 -4.5