Function Repository Resource:

CrystalBallDistribution

Source Notebook

Define a continuous probability distribution characterized by a Gaussian core and a power-law tail

Contributed by: Arnoud Buzing

ResourceFunction["CrystalBallDistribution"][α,n,x_,σ]

computes the Crystal Ball distribution for the given shape parameters.

Details

The Crystal Ball distribution is named after the Crystal Ball collaboration, a particle physics experiment that used a detector called the Crystal Ball to measure particle interactions. The distribution is often used in high-energy physics for fitting data distributions that have a Gaussian shape with an additional power-law tail.
The α parameter determines the transition point between the Gaussian core and the power-law tail. It affects how quickly the distribution changes from the Gaussian behavior to the power-law behavior.
The n parameter is the tail parameter and controls the shape of the power-law tail. A larger value of n results in a steeper tail, meaning the influence of the power-law component diminishes more rapidly.
The parameter is the mean or central value around which the Gaussian core is centered. It shifts the entire distribution along the x-axis without affecting its shape.
The σ parameter is the standard deviation of the Gaussian core, controlling the spread of the distribution. It widens or narrows the Gaussian component without affecting the tail.

Examples

Basic Examples (1) 

Symbolic representation of the Crystal Ball distribution:

In[1]:=
ResourceFunction["CrystalBallDistribution"][\[Alpha], n, 
\!\(\*OverscriptBox[\(x\), \(_\)]\), \[Sigma]]
Out[1]=

Scope (2) 

Compute the PDF for certain specific parameters:

In[2]:=
pdf = PDF[ResourceFunction["CrystalBallDistribution"][10, 3, 0, 1], x]
Out[2]=
In[3]:=
Plot[pdf, {x, -10, 4}]
Out[3]=

Compute the CDF:

In[4]:=
cdf = CDF[ResourceFunction["CrystalBallDistribution"][10, 3, 0, 1], x]
Out[4]=

Plot the CDF:

In[5]:=
Plot[cdf, {x, -10, 4}]
Out[5]=

Publisher

Arnoud Buzing

Requirements

Wolfram Language 14.0 (January 2024) or above

Version History

  • 1.0.0 – 18 December 2024

Related Resources

License Information