Continuous distribution · also called skew-Gaussian

Skew normal distribution

A bell curve with a longer tail on one side, for data that look nearly normal but lean: birth weights, some test scores, financial returns, residuals that are not quite symmetric. A shape parameter sets the lean; is the normal, and as grows the curve approaches a half-normal. It arises as a normal observed only when a correlated normal is positive.

Skew normal probability calculator

P(X ≤ 0.67) = 0.497314

At the parameters set by the sliders. The shaded region on the plot is the probability; the dots on the CDF mark F at its ends.

PDF

00.20.40.6−6−4−20246f(x)mean

CDF

00.250.50.751−6−4−20246F(x)

mean 0.7741 · variance 0.4008 · sd 0.6331

Formulas

Parameters
  • , the location
  • , the scale
  • , the shape (positive leans right)
Support
PDF
CDF
Mean
Variance
Mode
MGF

is Owen's function. The skewness is limited: even as it stays below about 0.995. SciPy's skewnorm takes the shape as a, with loc and scale .

Worked example

is skew normal with , and . What is the probability that falls below its location ?

At , , so For the normal () it would be one half. answer checked by code

How it relates to others

All the relationships, as a diagram →

In Python

from scipy import stats
import numpy as np

X = stats.skewnorm(a=4, loc=0, scale=1)
X.pdf(0.5)  # f(0.5) = 0.6881
X.cdf(0.5)  # P(X ≤ 0.5) = 0.3843
X.mean(), X.var()  # 0.7741, 0.4008
X.ppf(0.95)  # 95th percentile
X.rvs(size=10, random_state=0)

rng = np.random.default_rng(0)
X.rvs(size=10, random_state=rng)

NumPy has no skew-normal sampler, so this uses SciPy's, with NumPy's generator.

Choosing between this and its neighbours? Which distribution for measurements and errors?

← Truncated normalLog-normal →