Can I use two sample KS test here?

I have some data measured before an event occurred and after the event occurred. I have extracted various attributes from data. Like attribute 1, attribute 2, attribute 3, and so on.
Can I use kstest2 of MATLAB to examine if the data came from same continuous distribution?
as, [h,p,k] = kstest2(attribute 1 vector before the event, attribute 1 vector after the event);
Please advise.

1 comentario

Tom Lane
Tom Lane el 11 de Mayo de 2015
Suppose I have X before the event and Y after. Are they independent? For example, if X(5) is measured on person 5 before the event and Y(5) is measured on person 5 after the event, I would expect them not to be independent.

Iniciar sesión para comentar.

Respuestas (0)

Preguntada:

el 7 de Mayo de 2015

Comentada:

el 11 de Mayo de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by