> ## Documentation Index
> Fetch the complete documentation index at: https://numpyts.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Statistics & Analysis

> Descriptive statistics, histograms, correlation matrices, Monte Carlo simulations, and weighted averages with numpy-ts.

## Descriptive statistics on a dataset

Compute standard summary statistics on a dataset in one pass using numpy-ts reduction functions.

***

## Building histograms

Use `histogram` to bin data into intervals and compute counts. This is the basis for visualizing distributions.

***

## Correlation matrix with corrcoef

Compute the Pearson correlation coefficient matrix to understand relationships between variables.

***

## Monte Carlo simulation

Use random sampling to estimate quantities that are difficult to compute analytically.

***

## Weighted average

Compute a weighted mean when some observations carry more importance than others.

***

## Working with NaN-safe reductions

Real datasets often contain missing values. Use the `nan*` family of functions to ignore `NaN` entries.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.