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 -

What is happening when Matlab is starting a "parallel pool"? -

php - Cannot override Laravel Spark authentication with own implementation -