moransI correlation of matrix gives output value greater than one
조회 수: 2 (최근 30일)
이전 댓글 표시
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.
댓글 수: 0
답변 (1개)
Wayne King
2012년 2월 18일
Perhaps you would be better to contact the author:
Since moransl.m is not a MathWorks' function or method.
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!