is an option to SmoothKernelDistribution that controls the behavior outside that data range.
MaxExtraBandwidths
is an option to SmoothKernelDistribution that controls the behavior outside that data range.
Details
- For SmoothKernelDistribution, the option MaxExtraBandwidths can be used to determine the extent to which the estimate will extend beyond the data.
- Typical settings include:
-

smooth
bandwidths beyond the data
smooth
and
above and below the data
Use
for smoothing in dimension 
- By default
is used.
Examples
Basic Examples (1)
Truncate the estimate prior to smoothing for skewed distributions:
data = RandomVariate[ExponentialDistribution[1], 1000];𝒟1 = SmoothKernelDistribution[data, MaxExtraBandwidths -> {12, 12}];
𝒟2 = SmoothKernelDistribution[data, MaxExtraBandwidths -> {0, 12}];Table[Plot[PDF[𝒟, x], {x, -2, 10}, PlotRange -> All, Frame -> True, Exclusions -> None], {𝒟, {𝒟1, 𝒟2}}]Related Guides
History
Text
Wolfram Research (2010), MaxExtraBandwidths, Wolfram Language function, https://reference.wolfram.com/language/ref/MaxExtraBandwidths.html.
CMS
Wolfram Language. 2010. "MaxExtraBandwidths." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/MaxExtraBandwidths.html.
APA
Wolfram Language. (2010). MaxExtraBandwidths. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MaxExtraBandwidths.html
BibTeX
@misc{reference.wolfram_2026_maxextrabandwidths, author="Wolfram Research", title="{MaxExtraBandwidths}", year="2010", howpublished="\url{https://reference.wolfram.com/language/ref/MaxExtraBandwidths.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_maxextrabandwidths, organization={Wolfram Research}, title={MaxExtraBandwidths}, year={2010}, url={https://reference.wolfram.com/language/ref/MaxExtraBandwidths.html}, note=[Accessed: 13-June-2026]}