Details
This is the half normal key function with parameter
sigma
. Its expression is given by
\(g(x) = \exp(\frac{-x^2}{2*\sigma^2},\)
for x > 0.
See also
Other key functions:
hazard_rate_key()
,
uniform_key()
Author
Jaime Mosquera Gutiérrez, jmosquerag@unal.edu.co
Examples
library(EstimationTools)
#----------------------------------------------------------------------------
# Example: Half normal function
half_norm_key(x=1, sigma=4.1058)
#> [1] 0.9707753
curve(half_norm_key(x, sigma=4.1058), from=0, to=20, ylab='g(x)')
#----------------------------------------------------------------------------