Correlation between given day and mean of previous days

2 ビュー (過去 30 日間)
Daphne PARLIARI
Daphne PARLIARI 2021 年 6 月 25 日
コメント済み: Daphne PARLIARI 2021 年 6 月 25 日
Hey guys, I would appreciate your help....
I need to find corr coef between daily mortality data and daily pollutant concentrations. I need to do it in 2 ways:
1. Correlation between given day of mortality and the same day of pollutant (e.g. mortality 03/01/2006-pollutant 03/01/2006),
2. Correlation between given day of mortality and mean concentration of pollutant on given day plus 2 days ago ( e.g. mortality 03/01/2006-pollutant 03/01/2006-02/01/2006-01/01/2006).
I am attaching an indicative .xlsx containing the necessary data. Could anyone help me on this?
PS. I'm on Matlab 2019a
  6 件のコメント
Scott MacKenzie
Scott MacKenzie 2021 年 6 月 25 日
You've just circled back to my original point:
find the corrcoef between the first item of ... and the first item of ...
Daphne PARLIARI
Daphne PARLIARI 2021 年 6 月 25 日
Yes right, but I want to see if there is a way I can do it without using movmean in case something is being calculated incorrectly.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeElectrical Block Libraries についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by