Can I use two sample KS test here?
Show older comments
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 Comment
Tom Lane
on 11 May 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.
Answers (0)
Categories
Find more on Hypothesis Tests in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!