Skip to content

statspai.nonparametric

nonparametric

Nonparametric estimation methods.

Provides local polynomial regression (lpoly), kernel density estimation (kdensity), and nonparametric regression (npregress).

LPolyResult

Results from local polynomial regression.

plot

plot(ax=None, scatter=True, ci=True, **kwargs)

Plot the local polynomial fit with optional scatter and CI.

KDensityResult

Results from kernel density estimation.

plot

plot(ax=None, hist=False, rug=False, **kwargs)

Plot the kernel density estimate.