Connect via MCP →

Enter Calculation

Formula

Advertisement

Results

Density f(x) at x = 0
0
Hybrid Lognormal HybLogN(ρx, μ, σ)
Median x_c (hyb(ρx_c)=μ) 0.567143
Rows computed 101
x Density f(x)
0 0
0.05 0.1093627
0.1 0.38800626
0.15 0.66479888
0.2 0.88653322
0.25 1.04594098
0.3 1.14891167
0.35 1.20455798
0.4 1.22207028
0.45 1.20973813
0.5 1.17470945
0.55 1.12300621
0.6 1.05962459
0.65 0.98865643
0.7 0.91340913
0.75 0.83651602
0.8 0.7600356
0.85 0.68553956
0.9 0.61419053
0.95 0.54681063
1 0.48394145
1.05 0.42589654
1.1 0.37280694
1.15 0.3246604
1.2 0.28133499
1.25 0.24262753
1.3 0.20827734
1.35 0.177986
1.4 0.15143331
1.45 0.12829013
1.5 0.10822839
1.55 0.09092876
1.6 0.07608621
1.65 0.06341395
1.7 0.05264594
1.75 0.04353823
1.8 0.03586948
1.85 0.02944076
1.9 0.02407474
1.95 0.01961466
2 0.01592294
2.05 0.01287967
2.1 0.010381
2.15 0.0083376
2.2 0.00667301
2.25 0.00532224
2.3 0.00423029
2.35 0.00335088
2.4 0.00264528
2.45 0.00208121
2.5 0.00163194
2.55 0.00127538
2.6 0.00099343
2.65 0.00077126
2.7 0.00059681
2.75 0.00046031
2.8 0.00035388
2.85 0.00027118
2.9 0.00020714
2.95 0.00015771
3 0.00011969
3.05 0.00009055
3.1 0.00006829
3.15 0.00005134
3.2 0.00003847
3.25 0.00002874
3.3 0.0000214
3.35 0.00001589
3.4 0.00001176
3.45 0.00000868
3.5 0.00000638
3.55 0.00000468
3.6 0.00000342
3.65 0.00000249
3.7 0.00000181
3.75 0.00000131
3.8 0.00000095
3.85 0.00000068
3.9 0.00000049
3.95 0.00000035
4 0.00000025
4.05 0.00000018
4.1 0.00000013
4.15 0.00000009
4.2 0.00000006
4.25 0.00000004
4.3 0.00000003
4.35 0.00000002
4.4 0.00000002
4.45 0.00000001
4.5 0.00000001
4.55 0.00000001
4.6 0
4.65 0
4.7 0
4.75 0
4.8 0
4.85 0
4.9 0
4.95 0
5 0

What is the hybrid lognormal distribution?

The hybrid lognormal distribution, written HybLogN(\(\rho x, \mu, \sigma\)), is a probability distribution in which the transformed variable \(y(x) = \rho x + \ln(\rho x)\) is normally distributed with mean \(\mu\) and standard deviation \(\sigma\). It blends a normal-distribution term (\(\rho x\)) with a lognormal-distribution term (\(\ln(\rho x)\)). The strength parameter \(\rho > 0\) scales the underlying variable. Because of the logarithm, the distribution is defined only for \(x > 0\). This is a universal piece of pure mathematics and applies identically everywhere.

Skewed bell-shaped probability density curve with a long right tail
The hybrid lognormal density f(x): a right-skewed curve defined for x greater than zero.

How to use this calculator

Pick which function to tabulate — the probability density f, the lower cumulative probability P, or the upper cumulative probability Q. Enter the strength parameter \(\rho\), the mean \(\mu\), and the standard deviation \(\sigma\). Then set the initial x, the step size, and the number of rows. The tool evaluates the chosen function at \(x = x_0,\ x_0 + \text{step},\ x_0 + 2\cdot\text{step}, \ldots\) and lists every (x, value) pair, plus the median \(x_c\).

The formula explained

Let \(y(x) = \rho x + \ln(\rho x)\) and \(z = (y(x) - \mu) / \sigma\). The density is $$f(x) = \frac{\rho}{\sqrt{2\pi}\,\sigma}\left(1 + \frac{1}{\rho x}\right) e^{-\frac{1}{2} z^{2}}$$ The factor \(\left(1 + \frac{1}{\rho x}\right)\) is the Jacobian \(dy/dx\) divided by \(\rho\). Since y increases strictly with x and runs from \(-\infty\) to \(+\infty\), the lower cumulative probability is simply \(P(x) = \Phi(z)\), where \(\Phi\) is the standard normal CDF, $$\Phi(z) = \frac{1}{2}\left[1 + \operatorname{erf}\!\left(\frac{z}{\sqrt{2}}\right)\right]$$ The upper cumulative is \(Q(x) = 1 - P(x) = \Phi(-z)\).

Advertisement
Density curve with shaded lower and upper cumulative areas split at a value
Lower cumulative P(x) (left area) and upper cumulative Q(x) (right area) partition the total probability of 1.

Worked example

With \(\rho=1,\ \mu=0,\ \sigma=1\) at \(x=1\): \(y = 1 + \ln(1) = 1\), so \(z = 1\). Density $$f = 0.3989423 \cdot (1+1) \cdot e^{-0.5} = 0.3989423 \cdot 2 \cdot 0.6065307 \approx 0.4839$$ The lower cumulative \(P = \Phi(1) \approx 0.8413\), and the upper cumulative \(Q \approx 0.1587\).

FAQ

Why must x be positive? The term \(\ln(\rho x)\) is undefined for \(\rho x \le 0\). At \(x = 0\) the density is taken as 0, with \(P = 0\) and \(Q = 1\) as limit values.

What is the median? The median \(x_c\) solves \(\rho x_c + \ln(\rho x_c) = \mu\). We solve numerically for \(\rho x_c\) and divide by \(\rho\).

How accurate is the cumulative probability? \(\Phi\) uses the Abramowitz-Stegun 7.1.26 erf approximation, accurate to roughly \(1.5 \times 10^{-7}\).

Last updated: