Can I use two sample KS test here?

6 次查看(过去 30 天)
Pooja Narayan
Pooja Narayan 2015-5-7
评论: Tom Lane 2015-5-11
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 个)

Community Treasure Hunt

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

Start Hunting!

Translated by