DescriptiveStats
v0.4.0A class for performing univariate and multivariate descriptive statistical analysis. Provides tools for exploratory data analysis, measures of central tendency, dispersion, distribution shape, and linear regression.
Class Overview
The DescriptiveStats class is the core module for descriptive statistical analysis. It accepts pandas.DataFrame, polars.DataFrame, or numpy.ndarray as input with automatic backend detection, and provides a rich set of methods for understanding your data. A backend property exposes the active backend ("pandas" or "polars").
Constructor
DescriptiveStats(data: pd.DataFrame | pl.DataFrame | np.ndarray, backend: Literal['pandas', 'polars'] | None = None)All univariate statistics drop NaN values consistently and use sample conventions (ddof=1). The lang parameter is deprecated as of v0.3.1: all output is in English.
Methods
DescriptiveSummary
The DescriptiveSummary object is returned by the summary() method and provides a rich set of formatting options for presenting descriptive statistics.
LinearRegressionResult
The LinearRegressionResult object is returned by the linear_regression() method and encapsulates the fitted regression model along with diagnostic information and utilities.