Group Abstract Group Abstract

Message Boards Message Boards

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

KolmogorovSmirnovTest to set the level of probability?

Posted 10 years ago

I would like to ask for help. I do Kolmogorov Smirnov test. I entered data. I need to set the level of probability. It should be using pvalue and the result should be true / false. But unfortunately I do not.

data = RandomVariate [NormalDistribution [], 10];
KolmogorovSmirnovTest [data]

------->>>>>> TRUE/FALSE???????

Thank you for the advice Martin

POSTED BY: martin martin
9 Replies
Posted 10 years ago

OK. I understand now. (I'm a little slow.) The output is just some text so you could use a brute force approach to make the translation into another variable:

data = BlockRandom[SeedRandom[1]; 
   RandomVariate[NormalDistribution[], 100]];
ks = KolmogorovSmirnovTest[data, NormalDistribution[0, 1.5], "ShortTestConclusion", SignificanceLevel -> .1]
result = If[ks == "Reject", "Ano", "Ne"]
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
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
POSTED BY: martin martin
Posted 10 years ago
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