# Corr

The **Corr** function calculates the Pearson correlation coefficient, also known as the bivariate correlation, of two numerical columns.

### Syntax

`Corr(number column 1, number column 2)`

Function arguments:

* **number column 1** (required) - A column of numbers representing the dependent data.
* **number column 2** (required) - A column of numbers representing the independent data.

### Example

`Corr([Quantity], [Price])`

<figure><img src="https://files.readme.io/11d49f2-Screenshot_2023-03-07_at_12.49.31_PM.png" alt=""><figcaption></figcaption></figure>

> ### 📘With this negative correlation, we can see that as price increases, the quantity of purchased item decreases.


---

# Agent Instructions: 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:

```
GET https://support.meetuma.ai/uma-knowledgebase/data-and-reporting/analytics-pro/functions/aggregate-functions/corr.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
