({{, (RefLink[MaxExtraBandwidths, paclet:ref/MaxExtraBandwidths]) 
is an option to (RefLink[SmoothKernelDistribution, paclet:ref/SmoothKernelDistribution]) that controls the behavior outside that data range.}})

OpenersNotesSection(Spacer1)Details

For (RefLink[SmoothKernelDistribution, paclet:ref/SmoothKernelDistribution]), the option (RefLink[MaxExtraBandwidths, paclet:ref/MaxExtraBandwidths]) can be used to determine the extent to which the estimate will extend beyond the data.

Typical settings include:

By default r=12 is used.

OpenersPrimaryExamplesSection(Spacer1)Examples  (1)

OpenersExampleSection0(Spacer1)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}}]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[SmoothKernelDistribution, paclet:ref/SmoothKernelDistribution])  ▪  (RefLink[SmoothHistogram, paclet:ref/SmoothHistogram])  ▪  (RefLink[SmoothHistogram3D, paclet:ref/SmoothHistogram3D])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Nonparametric Statistical Distributions, paclet:guide/NonparametricStatisticalDistributions])}})}})