xarray.Dataset.azstats.kde

xarray.Dataset.azstats.kde#

Dataset.azstats.kde(dim=None, **kwargs)#

Compute the KDE for all variables in the dataset.

Parameters:
dimstr or sequence of str, optional

Dimension(s) over which to compute the KDE.

**kwargsany, optional

Additional keyword arguments forwarded to the array or dataarray interface. See arviz_stats.base.array_stats.kde for the full list of supported arguments.

Returns:
xarray.Dataset

A dataset containing the KDE grids and pdf values for each variable.