how to apply a friedman test on a database with NaN's in matlab?
조회 수: 4 (최근 30일)
이전 댓글 표시
hello everyone, does anyone know how to apply a friedman test on a database with NaN's in matlab?
thanks!
댓글 수: 0
채택된 답변
dpb
2023년 8월 4일
The obvious would be to exclude the NaN observations but you may run into an issue that the number of replicates for each group must be the same so you'll also have to remove a matching replicate for each factor combination matching the missing one(s). The result is you may not have any data left for a given set of factors; all that would depend on the design and how many and where the NaN values are located.
IOW, it's quite possible (maybe probable?) that you simply can't apply the basic Friedman test to the dataset.
The <Skillings Mack test> described at the link is a Friedman-like test that can handle missing data but a quick search didn't find a ready MATLAB implementation and I haven't built one, either.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Analysis of Variance and Covariance에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!