skewNormal {EvidenceSynthesis} | R Documentation |
The skew normal function to approximate a log likelihood function
Description
The skew normal function to approximate a log likelihood function
Usage
skewNormal(x, mu, sigma, alpha)
Arguments
x |
The log(hazard ratio) for which to approximate the log likelihood. |
mu |
The position parameter. |
sigma |
The scale parameter. |
alpha |
The skew parameter. |
Details
The skew normal function. When alpha = 0
this function is the normal distribution.
Value
The approximate log likelihood for the given x.
References
Azzalini, A. (2013). The Skew-Normal and Related Families. Institute of Mathematical Statistics Monographs. Cambridge University Press.
Examples
skewNormal(x = 0:3, mu = 0, sigma = 1, alpha = 0)
[Package EvidenceSynthesis version 0.5.0 Index]