View source: R/LikelihoodApproximation.R
customFunction | R Documentation |
A custom function to approximate a log likelihood function
customFunction(x, mu, sigma, gamma)
x |
The log(hazard ratio) for which to approximate the log likelihood. |
mu |
The position parameter. |
sigma |
The scale parameter. |
gamma |
The skew parameter. |
A custom parametric function designed to approximate the shape of the Cox log likelihood function.
When gamma = 0
this function is the normal distribution.
The approximate log likelihood for the given x.
customFunction(x = 0:3, mu = 0, sigma = 1, gamma = 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.