Statistics & probability

Skew normal distribution fit calculator from numeric samples

Estimate the location, positive scale and skew-shape parameter of one skew-normal distribution from a numeric sample.

Your numbers

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

How this calculation works

Estimate the location, positive scale and skew-shape parameter of one skew-normal distribution from a numeric sample. The fit reports its mean separately from its location and evaluates a requested model quantile. This family represents asymmetric Gaussian-like distributions, while the finite local search rejects unresolved or near-divergent skew parameters. It does not turn an arbitrary asymmetric sample into evidence for a particular generating mechanism.

THE FORMULAz=(y−ξ)/ω, ω>0; f(y)=2φ(z)Φ(az)/ω. δ=a/√(1+a²); E[Y]=ξ+ωδ√(2/π); Var(Y)=ω²(1−2δ²/π).

A worked example

Thirty rounded quantile-spaced observations from an illustrative shape-four skew-normal sample fit shape≈4.5062, location≈.97995 and scale≈1.99364. Their fitted mean is about 2.53287, which is substantially above location. The fitted 95th percentile is about 4.88742. Treating location as the mean would misdescribe the center of this asymmetric fitted distribution.

Good to know

20–300 finite nonconstant uncensored observations. Standardized local search with shape in (−25,25), location within ±10 standardized units and log scale in (−8,5). Five starts; boundary, unresolved and nonpositive-curvature fits rejected. Quantile probability in (0,1), evaluated by numerical density integration and bounded root search. No mixtures, truncation, robust estimation, heavy-tail model or uncertainty intervals.

Asymmetry is introduced through one shape parameter

Multiplying a normal density by twice a normal cumulative probability tilts its mass toward one side. Positive shape produces right skew under the displayed convention, while negative shape mirrors the distribution.

The resulting family remains a specific three-parameter model. Multiple peaks, truncation and long power-law tails are different structures. A smooth asymmetric histogram may still be incompatible with a single skew-normal distribution.

Skew normal distribution fit calculator from numeric samples worked exampleSkew-normal location is not the meanFitted densitylocation: 0.980mean: 2.533quantile: 4.887Observation units; shape ≈4.506
Scroll across to see the full diagram.
Thirty rounded quantile-spaced observations from an illustrative shape-four skew-normal sample fit shape≈4.5062, location≈.97995 and scale≈1.99364. Their fitted mean is about 2.53287, which is substantially above location. The fitted 95th percentile is about 4.88742. Treating location as the mean would misdescribe the center of this asymmetric fitted distribution.

Compare this with the Truncated normal distribution fit calculator from bounded samples. Symmetric Gaussian parameters cannot express or estimate skew shape.

Location and mean must be kept separate

The location ξ appears in the standardized coordinate (y−ξ)/ω. Its role is to position the family before the skew tilt, so it generally does not equal the expectation of the observed distribution.

The mean adds ωδ√(2/π), where δ=a/√(1+a²). For a positive fitted shape, that adjustment is positive. Reporting both location and mean makes the parameterization visible and prevents a location estimate from being presented as an average.

Preparing a sample that matches the likelihood

Use measurements recorded on one common numeric scale, with one entry per independent observation. The likelihood assumes observations were available across the modeled real line and are measured without censoring or an unmodeled sampling window.

Measurements retained only above a detection threshold require a likelihood conditional on selection. Entering them into this unrestricted model may create apparent skewness caused by the observation process. The calculator does not infer or correct that process automatically.

A worked distinction between location and center

The default sample fits location near .97995 and scale near 1.99364 with shape about 4.5062. The implied δ is positive and close to one, giving a fitted mean near 2.53287. These two center-related outputs have different meanings even though both share the measurement unit.

The requested .95 quantile is near 4.88742. A quantile is a cutoff with the corresponding model cumulative probability; it is not location plus an arbitrary multiple of the reported scale. The skew parameter must enter its calculation.

Why signed starting values are necessary

Shape, location and scale can compensate for one another over a finite sample. Searching only from shape zero can miss a stable asymmetric candidate, especially near the symmetric family where likelihood geometry can be weak.

The prototype uses zero, moderate positive/negative and stronger positive/negative starts after standardization. It compares resolved candidates and checks local curvature. Agreement is useful numerical evidence, while a finite search cannot prove that no other local solution exists.

Extreme shape is an unresolved boundary

As the magnitude of the shape grows, the family approaches a limiting one-sided form. A finite sample may push the likelihood toward that limit rather than identify a finite shape parameter.

This page bounds shape magnitude at twenty-five and rejects candidates reaching that boundary. It also rejects nonpositive numerical curvature. Those rules deliberately sacrifice some outputs to avoid presenting an arbitrary computational cap as a measured skew parameter.

Checking the fitted tail without overclaiming

Compare empirical quantiles with fitted quantiles across the sample, paying attention to both tails. A model can follow the dense center while missing unusual observations, and those discrepancies matter when the requested output is an extreme percentile.

A fitted percentile contains parameter uncertainty and model uncertainty. Neither is summarized by the extra decimal places in a numerical inverse CDF. The page supplies a local model calculation and no tolerance interval, prediction guarantee or proof of tail adequacy.

A few questions, answered

Is location the sample mean?

No. The fitted mean is location plus a shape-dependent adjustment.

Does positive shape mean a long right tail?

It means right skew under this convention, but it does not create a power-law tail.

Why reject an almost symmetric sample?

The skew parameter may be weakly identified or have singular local curvature near the normal family. A normal fit can be more stable.

Does the requested quantile include estimation uncertainty?

No. It is a quantile of the fitted distribution with parameters treated as fixed.

Find your calculator

Start typing to explore the library.