In probability theory and directional statistics, a wrapped probability distribution is a continuous probability distribution that describes data points that lie on a unit n-sphere. In one dimension, a wrapped distribution consists of points on the unit circle. If ϕ {\displaystyle \phi } is a random variate in the interval ( − ∞ , ∞ ) {\displaystyle (-\infty ,\infty )} with probability density function (PDF) p ( ϕ ) {\displaystyle p(\phi )} , then z = e i ϕ {\displaystyle z=e^{i\phi }} is a circular variable distributed according to the wrapped distribution p w z ( θ ) {\displaystyle p_{wz}(\theta )} and θ = arg ( z ) {\displaystyle \theta =\arg(z)} is an angular variable in the interval ( − π , π ] {\displaystyle (-\pi ,\pi ]} distributed according to the wrapped distribution p w ( θ ) {\displaystyle p_{w}(\theta )} .
Any probability density function p ( ϕ ) {\displaystyle p(\phi )} on the line can be "wrapped" around the circumference of a circle of unit radius. That is, the PDF of the wrapped variable
is
which is a periodic sum of period 2 π {\displaystyle 2\pi } . The preferred interval is generally ( − π < θ ≤ π ) {\displaystyle (-\pi <\theta \leq \pi )} for which ln ( e i θ ) = arg ( e i θ ) = θ {\displaystyle \ln(e^{i\theta })=\arg(e^{i\theta })=\theta } .