meridian.analysis.analyzer.get_central_tendency_and_ci

Calculates mean and credible intervals for the given data.

data Data for the metric.
confidence_level Confidence level for computing credible intervals, represented as a value between zero and one.
axis Axis or axes along which the mean, median, and quantiles are computed.
include_median A boolean flag indicating whether to calculate and include the median in the output Dataset (default: False).

A numpy array or backend.Tensor containing the mean and credible intervals for the given data. Optionally, it also includes the median.