Density estimation

Kernel density estimates

excee.density.compute_1d_density(sample, bins, smooth, *, weights=None, bw_method='isj', ess=None, boundary_correction='linear', bounds=None, force_bounds=False, lcv_threshold=0.22, lcv_frac=0.15, pad_nstd=None)[source]
excee.density.compute_2d_density(sample, bins, smooth, *, weights=None, bw_method='isj', cholesky_whitening=True, bounds=None, force_bounds=False, lcv_threshold=0.22, lcv_frac=0.15, pad_nstd=None)[source]
excee.density.kde_bandwidth(x, *, chain_dim='chain', draw_dim='draw', has_chain_axis=None, **kwargs)[source]