nancorr

버전 1.0.1 (2.44 KB) 작성자: Oleksandr Frei
Calculates Pearson correlation allowing for nan values.
다운로드 수: 132
업데이트 날짜: 2021/12/29

라이선스 보기

nancorr(A, B) is equivalent to matlab's corr(A, B, 'Rows', 'pairwise'), except nancorr routine is orders of magnitude faster on large matrices.
nancorr also returns t-statistics:
[coef, t] = nancorr(A, B); zmat = t;
These can be converted to p-values as follows:
[coef, t, n] = NANCORR(A, B);
pval = tcdf(-abs(t), n - 2)

인용 양식

Oleksandr Frei (2024). nancorr (https://www.mathworks.com/matlabcentral/fileexchange/71893-nancorr), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2019a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Interpolation에 대해 자세히 알아보기
태그 태그 추가

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.1

stops underflow/overflow in calculations of standard errors (sx, sy) causing the output to become complex

1.0.0