> For the complete documentation index, see [llms.txt](https://docs.cascade.io/cascade/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cascade.io/cascade/tools/data_science/varimportance.md).

# Correlate

Correlate calculates the correlation between selected columns of the input table, using either a standard correlation or a Predictive Power Score methodology.

### Options

| Option         | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| -------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Score Type** | <p>Methodology for calculating correlation.</p><ul><li><strong>Correlation</strong>: standard correlation matrix.</li><li><strong>Predictive Power Score</strong>: a methodology for identifying the relationship between non-symmetrical metrics. For example: a city is not necessarily predictive of zip code, but zip code is predictive of city. PPS will identify that relationship while correlation will not. More information <a href="https://www.sr-sv.com/the-predictive-power-score/#:~:text=%E2%80%9CThe%20predictive%20power%20score%20is,(perfect%20predictive%20power).%E2%80%9D&#x26;text=%5BIt%5D%20detects%20linear%20and%20non%2Dlinear%20relationships.">here</a>.</li></ul> |
| **Fields**     | Columns from the input table to include in the matrix.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.cascade.io/cascade/tools/data_science/varimportance.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
