---
title: "Discussion on \"Rolling Spearman Correlation in pandas: Testing Whether Two Stocks' News Attention Moves Together\" | Hashnode"
description: "Discussion on \"Rolling Spearman Correlation in pandas: Testing Whether Two Stocks' News Attention Moves Together\". Rolling Spearman correlation is the rank correlation between two series, recomputed over a trailing window: inside each window both series are converted to ranks, and the Pearson correlation of those"
url: "https://hashnode.com/posts/rolling-spearman-correlation-in-pandas-testing-whether-two-stocks-news-attention-moves-together/6afadabd269cbadf12d1087a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Rolling Spearman Correlation in pandas: Testing Whether Two Stocks' News Attention Moves Together](https://dustinliang.hashnode.dev/rolling-spearman-correlation-in-pandas-testing-whether-two-stocks-news-attention-moves-together?utm_source=hashnode&utm_medium=feed)

Rolling Spearman correlation is the rank correlation between two series, recomputed over a trailing window: inside each window both series are converted to ranks, and the Pearson correlation of those

1d ago · 10 min read · dustinliang.hashnode.dev  
Read the article

-   [#pandas](https://hashnode.com/tag/pandas)
-   [#data-analysis](https://hashnode.com/tag/data-analysis)
-   [#python](https://hashnode.com/tag/python)
-   [#time-series](https://hashnode.com/tag/time-series)

## Written by

[Dustin Liang](https://hashnode.com/@dustinliang)

@dustinliang

  
[View profile](https://hashnode.com/@dustinliang)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
