normality_test
Test if a numeric column is normally distributed using Shapiro-Wilk, Kolmogorov-Smirnov, or D'Agostino-Pearson methods. Use p < 0.05 to decide between parametric and non-parametric tests.
Instructions
Test if a numeric column follows a normal distribution. Methods: 'shapiro' (best for n < 5000), 'ks' (Kolmogorov-Smirnov, any sample size), 'dagostino' (D'Agostino-Pearson, n >= 20). Use before deciding on parametric vs non-parametric tests. If p < 0.05, data is NOT normal. Example: normality_test(column="Revenue", method="shapiro")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| column | Yes | ||
| method | No | shapiro | |
| df_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |