Why p-value is 0 when testing distribution

I want to check the distribution of the sample, I tried several tests like kstest. But I always got the result p-value = 0. Why?

+3
source share
3 answers

When you perform a statistical test, you have two hypotheses:

  • null hypothesis. Often call H_0. In your case, the null hypothesis is that the data comes from a normal distribution.
  • alternative hypothesis. Often call H_1 or H_A. In your case, the data comes from an abnormal distribution.

p-value , Null. " ". , .

.

+3

, : Matlab p ! Matlab - 0-1! 1 5%, 0 5%. p, :

[H, P] = KSTEST (...) P- P.

H - 0-1 ( , - ), P - p.

+2

p-values ​​. p, , . , KSTEST p , (.. ).

, , , . , :

  • , (.. ..), , .
  • Make sure that you are not receiving any warning messages while performing functions.
+1
source

Source: https://habr.com/ru/post/1786070/


All Articles