r - Using the ks.test function to poisson distribution -


good night people. have question using ks.test function.

it giving different results when use ks.test specifying probability distribution:

ks.test (sample $ x, "ppois", lambda = mean (sample $ x)) 

and comparing sample of interest sample generated rpois:

ks.test (sample $ x, rpois (length (sample $ x), mean (sample $ x))) 

could me in deadlock, please?


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -