How this calculation works
Fit a Student t distribution with estimated location, positive scale and degrees of freedom to independent numeric observations. The degrees of freedom control tail weight and are estimated from the sample rather than supplied by a hypothesis test. The result identifies whether theoretical mean and variance exist and gives a fitted quantile. A bounded local search reports unresolved normal-limit fits honestly.
log f(y)=logΓ((ν+1)/2)−logΓ(ν/2)−.5log(νπ)−log s−((ν+1)/2)log[1+((y−μ)/s)²/ν]. Mean μ exists only if ν>1; variance s²ν/(ν−2) exists only if ν>2.A worked example
Thirty symmetric quantile-spaced observations fit location≈2, scale≈1.61130 and ν≈4.20350. Their fitted variance is about 4.95280, whose square root exceeds scale. The .975 quantile is about 6.38955. The fitted ν is not 29 even though thirty observations were entered, because this is distribution fitting rather than the reference t statistic of a sample-mean test.
Good to know
20–300 finite nonconstant independent uncensored observations. Local fit with .25<ν<200, standardized location ±10 and log scale (−8,5); four starts and positive local-curvature check. Boundary and unresolved fits rejected. Quantile probability strictly between .001 and .999. No regression, noncentral t, intervals or automatic outlier removal. Mean undefined for ν≤1; variance undefined for ν≤2; scale is not standard deviation.
Reference: Method reference (opens in a new tab) ↗
Tail weight is a fitted distribution feature
A Student t family can allocate more probability to large standardized deviations than a normal distribution. Smaller degrees of freedom produce heavier tails, while increasing degrees of freedom approaches a normal shape.
The fit estimates that tail parameter together with location and scale. It is a model for the observed measurements themselves, rather than the sampling distribution of a separate test statistic. The familiar degrees-of-freedom rule from a t test does not apply.
Compare this with the Student t tail probabilities calculator. Existing t tail pages evaluate a fixed reference distribution rather than fitting its parameters.
Scale and standard deviation answer different questions
The scale s converts a standardized t variable into measurement units. When ν exceeds two, the model standard deviation is s√(ν/(ν−2)), which is larger than s.
When ν is at most two, the theoretical variance does not exist even though the sample has a finite numerical variance. A finite dataset always has a computable spread; that arithmetic fact does not imply a finite variance for the distribution proposed to generate future observations.
Location remains meaningful when the mean fails
The location parameter marks the center of the symmetric fitted density for every positive ν. For ν at most one, symmetry does not rescue the ordinary expectation because the positive and negative tail integrals fail to converge absolutely.
The output therefore retains location while marking the mean as undefined in that region. Calling location the mean without checking ν would hide an essential mathematical property of a heavy-tail fit.
Working through the symmetric default
The thirty supplied values are paired around two. A fitted symmetric distribution therefore places its location near two, while the likelihood chooses scale about 1.61130 and ν about 4.20350. Theoretical variance is then approximately 4.95280.
At cumulative probability .975, the fitted cutoff is about 6.38955. The default illustrates that neither a sample-size degrees-of-freedom substitution nor a normal 1.96 multiplier reproduces a fitted t quantile with these parameters.
What the likelihood does with large deviations
The normal log density penalizes squared standardized residuals, while the t log density uses log(1+z²/ν). That slower tail penalty is why a t family can represent occasional large deviations without requiring the same increase in central scale.
This is not permission to ignore data quality. An incorrect unit, duplicated record or mixed population can also look like heavy tails. The calculator fits every entered observation and does not identify or delete outliers automatically.
Recognizing the normal-limit boundary
A sample that looks nearly normal may contain little information about a finite upper value of ν. The likelihood can improve as ν grows, leaving a broad flat region approaching the normal limit.
The implementation searches only up to two hundred and rejects a candidate reaching that limit. An arbitrary maximum would otherwise appear to be a measured parameter. Multiple starts and positive curvature are finite local checks, and the page provides no confidence interval for ν.
Using a fitted tail percentile cautiously
Check quantiles across both tails rather than judging fit from one central summary. Symmetry is built into the t model; persistent one-sided discrepancies may call for a different family even if the model accommodates large absolute deviations.
The requested percentile treats estimated parameters as fixed. It excludes their uncertainty and says nothing about serial dependence or changing conditions. Far-tail decisions require evidence about those assumptions beyond a numerically stable fit.
A few questions, answered
Should I enter n minus one for degrees of freedom?
No. This page estimates distribution degrees of freedom from the measurements; it is not a one-sample t test.
Can the variance be undefined with a finite sample?
Yes. The sample spread is finite, while a fitted distribution with ν≤2 has no finite theoretical variance.
Is scale the standard deviation?
No. For ν>2, multiply scale by √(ν/(ν−2)) to obtain the model standard deviation.
Why reject a fit near ν=200?
The likelihood may be approaching a normal limit with no well-resolved finite ν; the computational cap is not an estimate.