moransI correlation of matrix gives output value greater than one

2 ビュー (過去 30 日間)
Amit
Amit 2012 年 2 月 18 日
編集済み: Cedric 2013 年 10 月 15 日
I am trying to calculate the moransI correlation of matrix, as W=true(3); mcor=moransI(matrix,W);
I am getting a matrix as output, I need one value, so I take the mean as mean(mcor(:));
Value is greater than one , while it must be in the range of -1 to 1, as a definition of correlation.
How to get the correct value, suggest me.

回答 (1 件)

Wayne King
Wayne King 2012 年 2 月 18 日
Perhaps you would be better to contact the author:
Since moransl.m is not a MathWorks' function or method.
  1 件のコメント
Amit
Amit 2012 年 2 月 18 日
yeah, I already contacted him , waiting for reply
Thanks

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

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by