---
title: "Calculate pearson correlation between rows"
method: POST
path: "/statisticalOperations/pearsonCorrelation"
tags: ["Statistical operations"]
---

# Calculate pearson correlation between rows

`POST /statisticalOperations/pearsonCorrelation`

## Request body

- array[]
  - number[]

## Response `200`

pearson correlation matrix

## Other responses

- `403` — Invalid Input array, not the same size

## Changes

- **2024-07-22** `3063ef5d8a81` — 1 info
  - api operation id `controller.statisticalOperations.pearsonCorrelation` removed and replaced with `debiaiServer.controller.statisticalOperations.pearsonCorrelation`
- **2024-07-19** `30f824d14afd` — 1 info
  - api operation id `debiaiServer.controller.statisticalOperations.pearsonCorrelation` removed and replaced with `controller.statisticalOperations.pearsonCorrelation`
- **2024-07-11** `67ad9bcbaea3` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/debiai/apis/debiai-backend-api/changes/statisticalOperations/pearsonCorrelation/post.md)

---

[API](https://skmtc.dev/debiai/apis/debiai-backend-api.md) · [All operations](https://skmtc.dev/debiai/apis/debiai-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/debiai/debiai-backend-api/revisions/3063ef5d8a81/schema)
