stats_distribution-fit
Fit data to common distributions, rank by goodness of fit, and generate Q-Q plot data for visual assessment.
Instructions
Fit data to common distributions and rank by goodness of fit.
Use when fitting data to standard distributions (normal, lognormal, uniform). Provide a data array. Returns: best-fit distribution, parameters (mean, std, etc.), goodness-of-fit statistics (KS test, chi-squared), and Q-Q plot data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Array of data to fit distributions to |