mhn
The Modified Half-Normal Distribution
Provides density, distribution, quantile, and random generation functions for the Modified Half-Normal (MHN) distribution, along with moments, mode, and the Fox-Wright Psi function used as the normalizing constant. The MHN distribution arises as a conditional posterior in Bayesian MCMC and generalizes the half-normal, truncated normal, and square-root gamma distributions. Implements efficient sampling via the Sun, Kong & Pal (2023) <doi:10.1080/03610926.2021.1934700> algorithms and the Gao & Wang (2025) <doi:10.1080/03610918.2025.2524551> RTDR method.
Versions across snapshots
| Version | Repository | File | Size |
|---|---|---|---|
0.1.0 |
rolling linux/jammy R-4.5 | mhn_0.1.0.tar.gz |
432.7 KiB |
0.1.0 |
rolling linux/noble R-4.5 | mhn_0.1.0.tar.gz |
437.1 KiB |
0.1.0 |
rolling source/ R- | mhn_0.1.0.tar.gz |
272.0 KiB |
0.1.0 |
latest linux/jammy R-4.5 | mhn_0.1.0.tar.gz |
432.7 KiB |
0.1.0 |
latest linux/noble R-4.5 | mhn_0.1.0.tar.gz |
437.1 KiB |
0.1.0 |
latest source/ R- | mhn_0.1.0.tar.gz |
272.0 KiB |
0.1.0 |
2026-04-23 source/ R- | mhn_0.1.0.tar.gz |
0 B |