Message Boards Message Boards

0
|
4313 Views
|
9 Replies
|
0 Total Likes
View groups...
Share
Share this post:

KolmogorovSmirnovTest to set the level of probability?

Posted 10 years ago
POSTED BY: martin martin
9 Replies
Posted 10 years ago
POSTED BY: Jim Baldwin

enter image description here

enter image description here

enter image description here

enter image description here

POSTED BY: martin martin

I need a test result in the Czech language. English is inconvenient for the teacher.

POSTED BY: martin martin
Posted 10 years ago

I think you need to read about the Kolmogorov-Smirnov test or the associated Mathematica documentation. Why would you expect a "Yes" (meaning "no evidence of a difference") when you are comparing a sample from a N(0,1) vs. a N(521,3) distribution?

POSTED BY: Jim Baldwin

enter image description here

POSTED BY: martin martin
Posted 10 years ago

I suggest giving a fuller example (Mathematica code and output) of the issue you need resolved.

POSTED BY: Jim Baldwin

How do instead of "reject" --- "ok" and instead of "Do not reject" --- "no"

POSTED BY: martin martin

Nice :) Thank you :)

POSTED BY: martin martin
Posted 10 years ago

You set the significance level (rather than a P-value). The default (as stated in the documentation) is 0.05 but if you want it to be something else such as 0.10, then you can use the following:

data = RandomVariate[NormalDistribution[], 10];
ks = KolmogorovSmirnovTest[data, Automatic, "ShortTestConclusion", SignificanceLevel ->0.10]
POSTED BY: Jim Baldwin
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract