Usage of chi2gof
Mostrar comentarios más antiguos
h = chi2gof(x)
Since the chi-square test is just a comparison between observed (O) and expected (E) values, throught the formula (\sum_i (O_i - E_i)^2 / E_i), I guess that the argument "x" would refer to the observed data (O), but.... where should I insert/add the expected (E) values there?
Can you show any example of comparison among observed (O) and expected (E) data, like when I would need to compare two distributions?
(for example the expected (E) values might refer to any theoretical distribution that I want /need to compare to my observed (O) data)
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Hypothesis Tests en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
