Computes the mode (most probable value) of the MHN distribution.
Value
A numeric scalar. Returns NA when no interior mode exists
(density is monotonically decreasing on \((0, \infty)\)).
Details
The mode depends on \(\alpha\):
- \(\alpha > 1\)
\((\gamma + \sqrt{\gamma^2 + 8\beta(\alpha - 1)}) / (4\beta)\) (Sun et al., 2023, Lemma 3b).
- \(\alpha = 1\)
\(\max(0, \gamma / (2\beta))\), obtained as the mode of the truncated normal \(\mathrm{TN}(\gamma/(2\beta), 1/\sqrt{2\beta}, 0, \infty)\) that the MHN reduces to in this case (Sun et al., 2023, Lemma 6b).
- \(0 < \alpha < 1\)
An interior mode exists only when \(\gamma > 0\) and \(\alpha \geq 1 - \gamma^2 / (8\beta)\) (Sun et al., 2023, Lemma 3c); otherwise the density is monotonically decreasing (Sun et al., 2023, Lemma 3d) and
NAis returned.