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 -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -

Python Tornado package error when running server -