statsmodels.nonparametric.kde.KDEUnivariate.fit
KDEUnivariate.fit(kernel='gau', bw='normal_reference', fft=True, weights=None, gridsize=None, adjust=1, cut=3, clip=(-inf, inf)) [source]
Attach the density estimate to the KDEUnivariate class. Parameters:
kernel : str The Kernel to be used. Choices are: ?biw? for biweight ?cos? for cosine ?epa? for Epanechnikov ?gau? for Gaussian. ?tri? for triangular ?triw? for triweight ?uni? for uniform bw : str, float The bandwidth to use. Choices are: