---
title: "Statistical Analysis"
category: 12-data
level: intermediate
stability: stable
description: "Apply statistical analysis in AI agent workflows."
added: "2025-03"
---

![Dependency Status](https://img.shields.io/endpoint?url=https://samotech.github.io/skills-tree/badges/skills-12-data-statistical-analysis.json)

# Statistical Analysis

**Category:** `data`  
**Skill Level:** `intermediate`  
**Stability:** `stable`
**Added:** 2025-03

### Description

Compute descriptive and inferential statistics: mean, median, variance, correlation, hypothesis tests, and distributions.

### Example

```python
import scipy.stats as stats
t_stat, p_value = stats.ttest_ind(group_a, group_b)
print(f'p-value: {p_value:.4f}')
```

### Frameworks

- Python `scipy`, `statsmodels`, `numpy`
- R statistical functions
- OpenAI Code Interpreter

### Related Skills

- [Data Aggregation](data-aggregation.md)
- [Time Series Analysis](time-series.md)
- [Anomaly Detection](anomaly-detection.md)
