What relates to a column
find_relationshipsRanks all or selected columns by how strongly they relate to a numeric target, using Pearson correlation for numeric fields and correlation ratio for categorical fields.
Instructions
For open analytics questions such as "what drives revenue?", "what is related to churn time?" or "which factors matter for score?": ranks every other column (or the ones given) by how strongly it relates to a numeric target column. Pearson r for numeric columns, correlation ratio η plus the highest/lowest group for categorical ones. Descriptive (no p-values); follow up on the top findings with group_summary, correlation, charts or a hypothesis test. Works on files of any size. Use it in an explore analysis. The user confirms the target and the columns first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| file | Yes | The data file the user named or attached (path or name; never its contents). | |
| target | Yes | The numeric outcome to explain, e.g. Revenue. | |
| columns | No | Columns to consider (default: all others). | |
| confirmation_token | No | Only after the user has confirmed: the confirmation_token from the previous response. |