Package: mhn 0.1.2
mhn: The Modified Half-Normal Distribution
Provides density, distribution, quantile, and random generation functions for the Modified Half-Normal (MHN) distribution, along with moments and mode; the Fox-Wright Psi normalizing constant is evaluated internally. The MHN distribution arises as a conditional posterior in Bayesian Markov chain Monte Carlo and generalizes the half-normal, truncated normal, and square-root gamma distributions. Implements efficient sampling via Algorithms 1 and 3 of Sun, Kong & Pal (2023) <doi:10.1080/03610926.2021.1934700>, the relaxed transformed density rejection method of Gao & Wang (2025) <doi:10.1080/03610918.2025.2524551>, and, for the truncated normal special case, the sampler of Robert (1995) <doi:10.1007/BF00143942>.
Authors:
mhn_0.1.2.tar.gz
mhn_0.1.2.zip(r-4.7-x86_64)mhn_0.1.2.zip(r-4.7-arm64)mhn_0.1.2.zip(r-4.6-x86_64)mhn_0.1.2.zip(r-4.6-arm64)mhn_0.1.2.zip(r-4.5-x86_64)
mhn_0.1.2.tgz(r-4.6-x86_64)mhn_0.1.2.tgz(r-4.6-arm64)mhn_0.1.2.tgz(r-4.5-x86_64)mhn_0.1.2.tgz(r-4.5-arm64)
mhn_0.1.2.tar.gz(r-4.7-arm64)mhn_0.1.2.tar.gz(r-4.7-x86_64)mhn_0.1.2.tar.gz(r-4.6-arm64)mhn_0.1.2.tar.gz(r-4.6-x86_64)
mhn_0.1.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
mhn/json (API)
| # Install 'mhn' in R: |
| install.packages('mhn', repos = c('https://t-momozaki.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/t-momozaki/mhn/issues
Pkgdown/docs site:https://t-momozaki.github.io
Last updated from:07a7591f02. Checks:15 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 204 | ||
| linux-devel-x86_64 | OK | 208 | ||
| source / vignettes | OK | 237 | ||
| linux-release-arm64 | OK | 200 | ||
| linux-release-x86_64 | OK | 255 | ||
| macos-release-arm64 | OK | 227 | ||
| macos-release-x86_64 | OK | 444 | ||
| macos-oldrel-arm64 | OK | 212 | ||
| macos-oldrel-x86_64 | OK | 461 | ||
| windows-devel-arm64 | OK | 355 | ||
| windows-devel-x86_64 | OK | 444 | ||
| windows-release-arm64 | OK | 399 | ||
| windows-release-x86_64 | OK | 362 | ||
| windows-oldrel-x86_64 | OK | 259 | ||
| wasm-release | OK | 141 |
Exports:dmhnmhn_kurtosismhn_meanmhn_modemhn_skewnessmhn_varpmhnqmhnrmhn
Last update: 2026-10-23
Started: 2026-05-18
Last update: 2026-10-20
Started: 2026-05-18
