arviz_stats.base.array_stats.kde#
- array_stats.kde(ary, axis=-1, circular=False, grid_len=512, **kwargs)#
Compute of kde on array-like inputs.
- Parameters:
- Returns:
- grid, pdf, bwarray_like
grid and pdf will have the same shape: the same as ary minus the dimensions in axis plus an extra dimension of lenght grid_len. Same for bw except it will not have the extra dimension.