6.5.7.1.1.1.2. statsmodels.sandbox.nonparametric.smoothers.KernelSmoother.conf

KernelSmoother.conf(x)[source]

Returns the fitted curve and 1-sigma upper and lower point-wise confidence. These bounds are based on variance only, and do not include the bias. If the bandwidth is much larger than the curvature of the underlying funtion then the bias could be large.

x is the points on which you want to evaluate the fit and the errors.

Alternatively if x is specified as a positive integer, then the fit and confidence bands points will be returned after every xth sample point - so they are closer together where the data is denser.