distribution-analyzer

Analyze and model statistical distributions in Python datasets using NumPy, SciPy, and Matplotlib.

19|5|Updated Nov 23, 2025
One-click install
npx skills add https://github.com/Nir-Bhay/markups --skill distribution-analyzer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: distribution-analyzer
Source: https://github.com/Nir-Bhay/markups/tree/main/.agents/skills/distribution-analyzer
Command: npx skills add https://github.com/Nir-Bhay/markups --skill distribution-analyzer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps users understand the underlying statistical distribution of their data, enabling better modeling, hypothesis testing, and decision-making.

Core Features & Use Cases

  • Descriptive Statistics: Provides key metrics like mean, median, standard deviation, skewness, and kurtosis.
  • Distribution Fitting: Fits various continuous and discrete distributions (Normal, Log-Normal, Poisson, etc.) to the data and ranks them by goodness-of-fit (AIC, BIC).
  • Normality Testing: Performs multiple statistical tests (Shapiro-Wilk, D'Agostino-Pearson, Anderson-Darling, K-S) to assess if data follows a normal distribution.
  • Outlier Detection: Identifies outliers using methods like IQR, Z-score, and Median Absolute Deviation (MAD).
  • Visualization: Generates diagnostic plots including histograms, Q-Q plots, box plots, and ECDF.
  • Bootstrap Confidence Intervals: Calculates CIs for statistics like mean and median.
  • Use Case: A data scientist has a dataset and needs to determine the most appropriate statistical model for it, identify any unusual data points, and visualize the data's characteristics.

Quick Start

Analyze the provided dataset to determine the best fitting distribution and visualize its characteristics.

Frequently Asked Questions about distribution-analyzer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I determine which statistical distribution fits my dataset?

To perform distribution fitting, this Skill fits continuous and discrete distributions like Normal or Poisson to your dataset and ranks them by goodness-of-fit metrics including AIC and BIC.

What is the best way to test if my data is normally distributed in Python?

To test for normal distribution, you can perform multiple normality tests including Shapiro-Wilk, D'Agostino-Pearson, Anderson-Darling, and K-S tests to statistically assess if your data follows a normal distribution.

How do I detect outliers using Z-score and Median Absolute Deviation?

For outlier detection, this analysis applies statistical methods including Z-score, Interquartile Range (IQR), and Median Absolute Deviation (MAD) to identify unusual data points within your dataset.

Can I generate Q-Q plots and histograms for exploratory data analysis?

Yes, for exploratory data analysis, this process generates diagnostic visualizations including histograms, Q-Q plots, box plots, and empirical cumulative distribution functions (ECDF) using Matplotlib.

How do I calculate bootstrap confidence intervals for a dataset's mean and median?

To calculate bootstrap confidence intervals, this Skill computes CIs for key statistics like the mean and median, providing robust measures of uncertainty for your descriptive statistics.