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 件のコメント

Tom Lane
Tom Lane 2015 年 5 月 11 日
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.

サインインしてコメントする。

回答 (0 件)

質問済み:

2015 年 5 月 7 日

コメント済み:

2015 年 5 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by