SMp Distribution Calculator
Evaluate the SMp(x) flexible probability density function and tail probabilities from six shape parameters.
What the SMp(x) Model Is
SMp(x) is a flexible six-parameter function that can mimic many continuous and discrete distribution shapes. It uses lower limit PXmin, upper limit Xmax, mode location ML, powers p1 and p2, and peak Max. Related tools: Normal Distribution Calculator and Poisson Distribution Calculator.
Piecewise Definition
For PXmin ≤ x ≤ ML:
$$\mathrm{SMp}(x) = \left(\frac{x - PXmin}{ML - PXmin}\right)^{p_1} \times Max$$
For ML ≤ x ≤ Xmax:
$$\mathrm{SMp}(x) = \left(\frac{Xmax - x}{Xmax - ML}\right)^{p_2} \times Max$$
Outside the interval the function is zero.
Probability Queries
This tool can estimate tail and interval probabilities by numerically integrating SMp(x) over the domain. That is useful when the curve is treated as an unnormalized density model.
Example
With PXmin = 0, Xmax = 100, ML = 50, p1 = p2 = 2, and Max = 0.04, the curve peaks at x = 50 and falls smoothly toward both limits.
Frequently Asked Questions
Do p1 and p2 need to be equal?
No. Different powers create asymmetric left and right tails around the mode.
What does Max represent?
Max is the peak height of SMp(x) at the mode location ML.
Is SMp(x) always a normalized PDF?
Not automatically. The integrated area depends on the parameters, so probability mode normalizes by numerical integration.
Can ML be outside the interval?
No. ML must lie between PXmin and Xmax or the piecewise formula breaks down.
When should I use SMp instead of a named distribution?
Use SMp when you need a custom bounded shape that standard distributions cannot match easily.