What is MATLAB corresponding test for chi2gof but for Complex values?

조회 수: 1 (최근 30일)
SL
SL 2016년 10월 22일
답변: John D'Errico 2016년 10월 22일
I have an array of complex values. I would like to do a similar test as chi2gof but for complex values.
MATLAB: 2016b OS: Debian 8.5

답변 (1개)

John D'Errico
John D'Errico 2016년 10월 22일
A complex number is actually a 2-dimensional thing, composed of real and imaginary parts. So it makes no sense to talk about a one dimensional distribution for complex numbers, and chi2gof seems to work in one dimension. That means you need to find a goodness of fit test that applies to multivariate probability distributions.
Think about it. Are the real and imaginary parts of those numbers correlated? Even if not, these numbers live in a 2-d vector space, the complex plane.

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by